From 9ec104bb2d35314ffdf2f59c58c80e08c926d27b Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Mon, 13 Nov 2023 23:57:52 +0100 Subject: lib.fileset: Very minor changes --- lib/fileset/README.md | 3 --- lib/fileset/default.nix | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') 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; -- cgit 1.4.1