diff options
author | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-11-13 23:57:52 +0100 |
---|---|---|
committer | Silvan Mosberger <silvan.mosberger@tweag.io> | 2023-11-13 23:57:52 +0100 |
commit | 9ec104bb2d35314ffdf2f59c58c80e08c926d27b (patch) | |
tree | 04f2d426e5fe759796d065ba931f52f31b96b471 /lib | |
parent | 9aaf62766103d9409ec9d6177c0ea8b83932f9e7 (diff) | |
download | nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.tar nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.tar.gz nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.tar.bz2 nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.tar.lz nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.tar.xz nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.tar.zst nixpkgs-9ec104bb2d35314ffdf2f59c58c80e08c926d27b.zip |
lib.fileset: Very minor changes
Diffstat (limited to 'lib')
-rw-r--r-- | lib/fileset/README.md | 3 | ||||
-rw-r--r-- | lib/fileset/default.nix | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/lib/fileset/README.md b/lib/fileset/README.md index 8518d88a7d6..91f892a1be9 100644 --- a/lib/fileset/README.md +++ b/lib/fileset/README.md @@ -241,7 +241,4 @@ Arguments: ## To update in the future Here's a list of places in the library that need to be updated in the future: -- > The file set library is currently somewhat limited but is being expanded to include more functions over time. - - in [the manual](../../doc/functions/fileset.section.md) - If/Once a function exists that can optionally include a path depending on whether it exists, the error message for the path not existing in `_coerce` should mention the new function diff --git a/lib/fileset/default.nix b/lib/fileset/default.nix index 372d445269f..7d5bbeee3ba 100644 --- a/lib/fileset/default.nix +++ b/lib/fileset/default.nix @@ -188,7 +188,7 @@ in { - Set `root` to ${toString fileset._internalBase} or any directory higher up. This changes the layout of the resulting store path. - Set `fileset` to a file set that cannot contain files outside the `root` (${toString root}). This could change the files included in the result.'' else - builtins.seq sourceFilter + seq sourceFilter cleanSourceWith { name = "source"; src = root; |