summaryrefslogtreecommitdiff
path: root/lib/fileset/default.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <silvan.mosberger@tweag.io>2023-11-12 19:16:37 +0100
committerSilvan Mosberger <silvan.mosberger@tweag.io>2023-11-19 16:06:14 +0100
commitb514f0433cdbafbe05899f4dbd420bbdf1c5c7b9 (patch)
tree2148ae3d80c96d8a892e30a8f6e606c5c56f879d /lib/fileset/default.nix
parentMerge pull request #263550 from anthonyroussel/updates/axis2 (diff)
downloadnixpkgs-b514f0433cdbafbe05899f4dbd420bbdf1c5c7b9.tar.gz
lib.fileset: Minor changes
- Make fromSource's missing file error message more consistent with others, and add a test for it - Indent some function arguments - Fix an internal type
Diffstat (limited to 'lib/fileset/default.nix')
-rw-r--r--lib/fileset/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileset/default.nix b/lib/fileset/default.nix
index 15af0813eec7..6d0e8ebab735 100644
--- a/lib/fileset/default.nix
+++ b/lib/fileset/default.nix
@@ -263,7 +263,7 @@ in {
lib.fileset.fromSource: The source origin of the argument is of type ${typeOf path}, but it should be a path instead.''
else if ! pathExists path then
throw ''
- lib.fileset.fromSource: The source origin (${toString path}) of the argument does not exist.''
+ lib.fileset.fromSource: The source origin (${toString path}) of the argument is a path that does not exist.''
else if isFiltered then
_fromSourceFilter path source.filter
else