diff options
| author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-11-12 19:16:37 +0100 |
|---|---|---|
| committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-11-19 16:06:14 +0100 |
| commit | b514f0433cdbafbe05899f4dbd420bbdf1c5c7b9 (patch) | |
| tree | 2148ae3d80c96d8a892e30a8f6e606c5c56f879d /lib/fileset/default.nix | |
| parent | Merge pull request #263550 from anthonyroussel/updates/axis2 (diff) | |
| download | nixpkgs-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.nix | 2 |
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 |
