nixVersions.nix_2_26+: Document differences w/ upstream

(cherry picked from commit c1538990c6)
This commit is contained in:
Robert Hensing
2025-04-05 19:11:17 +02:00
committed by John Ericson
parent 95ac6e1135
commit e211bbf3c2

View File

@@ -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.