summaryrefslogtreecommitdiff
path: root/pkgs/tools/package-management/nix/modular/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/package-management/nix/modular/README.md')
-rw-r--r--pkgs/tools/package-management/nix/modular/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/nix/modular/README.md b/pkgs/tools/package-management/nix/modular/README.md
index 247bfc8badc5..e6488d2b1e32 100644
--- a/pkgs/tools/package-management/nix/modular/README.md
+++ b/pkgs/tools/package-management/nix/modular/README.md
@@ -4,3 +4,14 @@ This directory follows a directory structure similar to that in the upstream rep
to make comparisons easier.
The files are maintained separately from the upstream repo, so differences are expected.
+
+## Comparison
+
+### No filesets
+
+Using filesets with a fetched source would require "IFD", as the fetching happens in a derivation, but the filtering must come afterwards, and be done by the evaluator.
+
+### `workDir` attribute
+
+The Nixpkgs for Nix does inherit the `workDir` attribute that determines the location of the subproject to build.
+It is compared to this directory to produce the correct relative path, similar to upstream.