about summary refs log tree commit diff
path: root/src/fix.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-29T10·43+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-29T10·43+0000
commit79ba0431db223c1c08b46e8f3d1819e3457f21a0 (patch)
treed1d95370475a85bf9008f442489d7461f06f1d10 /src/fix.cc
parent5acb45446e756c023bcb6f052331181671580a5e (diff)
* `fstateRefs' now works on derive expressions as well. TODO: make
  this more efficient.
* A flag `-n' in 'nix --query' to normalise the argument.  Default is
  not to normalise.

Diffstat (limited to 'src/fix.cc')
-rw-r--r--src/fix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fix.cc b/src/fix.cc
index 10f0e44130..9b0d95912f 100644
--- a/src/fix.cc
+++ b/src/fix.cc
@@ -213,7 +213,7 @@ static Expr evalExpr2(EvalState & state, Expr e)
 
             if (ATmatch(value, "FSId(<str>)", &s1)) {
                 FSId id = parseHash(s1);
-                Strings paths = fstatePaths(id, false);
+                Strings paths = fstatePaths(id);
                 if (paths.size() != 1) abort();
                 string path = *(paths.begin());
                 fs.derive.inputs.push_back(id);