mirror of
https://github.com/NixOS/nix
synced 2025-07-10 13:03:55 +02:00
* When computing the set of paths referenced by an expression, also
include the paths of the subterms.
This commit is contained in:
parent
9a99dc736d
commit
2b95a9dc05
4 changed files with 68 additions and 44 deletions
|
@ -180,7 +180,7 @@ static Expr evalExpr(Expr e)
|
|||
SYSTEM, builder.c_str(), ins, out.c_str(), env);
|
||||
|
||||
/* Write the resulting term into the Nix store directory. */
|
||||
Hash eHash = writeTerm(e);
|
||||
Hash eHash = writeTerm(e, "-d-" + name);
|
||||
|
||||
return ATmake("Include(<str>)", ((string) eHash).c_str());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue