diff options
Diffstat (limited to 'src/nix.cc')
-rw-r--r-- | src/nix.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix.cc b/src/nix.cc index ec4c91788efd..f3549ead8442 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; |