summaryrefslogtreecommitdiff
path: root/lib/fileset/README.md
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2023-10-09 23:57:03 +0200
committerfricklerhandwerk <valentin@fricklerhandwerk.de>2023-10-09 23:57:03 +0200
commit61fa1255f86bd12d81f81dc93391ee7365059647 (patch)
treed91b8aa10b8d723220615e1d37c7e979e82a37d9 /lib/fileset/README.md
parentMerge pull request #239128 from r-ryantm/auto-update/python310Packages.robotf... (diff)
downloadnixpkgs-61fa1255f86bd12d81f81dc93391ee7365059647.tar.gz
link to documentation on IFD in the Nix manual
Diffstat (limited to 'lib/fileset/README.md')
-rw-r--r--lib/fileset/README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fileset/README.md b/lib/fileset/README.md
index 1aed7efec4ca..d22158036926 100644
--- a/lib/fileset/README.md
+++ b/lib/fileset/README.md
@@ -176,7 +176,7 @@ File sets do not support Nix store paths in strings such as `"/nix/store/...-sou
Arguments:
- (+) Such paths are usually produced by derivations, which means `toSource` would either:
- - Require IFD if `builtins.path` is used as the underlying primitive
+ - Require [Import From Derivation](https://nixos.org/manual/nix/unstable/language/import-from-derivation) (IFD) if `builtins.path` is used as the underlying primitive
- Require importing the entire `root` into the store such that derivations can be used to do the filtering
- (+) The convenient path coercion like `union ./foo ./bar` wouldn't work for absolute paths, requiring more verbose alternate interfaces:
- `let root = "/nix/store/...-source"; in union "${root}/foo" "${root}/bar"`