From 2b95a9dc05d0a943859ba92bb301c294473758f1 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 9 Jul 2003 15:02:03 +0000 Subject: * When computing the set of paths referenced by an expression, also include the paths of the subterms. --- src/fix.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fix.cc') diff --git a/src/fix.cc b/src/fix.cc index b4626f71f329..d17e7b550276 100644 --- a/src/fix.cc +++ b/src/fix.cc @@ -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()", ((string) eHash).c_str()); } -- cgit 1.4.1