aboutsummaryrefslogtreecommitdiff
path: root/src/nix.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-08 15:33:06 +0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-08 15:33:06 +0000
commit333f4963de6d174d852774a88ada852f77f57994 (patch)
tree9a16d56234604e17ce95c4a842d62241e79d61d7 /src/nix.cc
parent40274c1f4f763e634dd031f7a6b4ba8ce2de7a82 (diff)
* The output of a Derive() node is not a referenced path.
Diffstat (limited to 'src/nix.cc')
-rw-r--r--src/nix.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix.cc b/src/nix.cc
index ec4c91788..f3549ead8 100644
--- a/src/nix.cc
+++ b/src/nix.cc
@@ -160,7 +160,7 @@ static void opQuery(Strings opFlags, Strings opArgs)
break;
case qRefs: {
- Strings refs = fstateRefs(termFromHash(hash));
+ Strings refs = fstateRefs(realiseFState(termFromHash(hash)));
for (Strings::iterator j = refs.begin();
j != refs.end(); j++)
cout << format("%s\n") % *j;