1# `nix/modular`
2
3This directory follows a directory structure similar to that in the upstream repo,
4to make comparisons easier.
5
6The files are maintained separately from the upstream repo, so differences are expected.
7
8## Comparison
9
10### No filesets
11
12Using 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.
13
14### `workDir` attribute
15
16The Nixpkgs for Nix does inherit the `workDir` attribute that determines the location of the subproject to build.
17It is compared to this directory to produce the correct relative path, similar to upstream.