about summary refs log tree commit diff
path: root/src/nix-store/main.cc
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2005-02-08T13·23+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2005-02-08T13·23+0000
commit3d74274b37a0f3b841ad860143f9c17401c3d7c4 (patch)
treeafd97d4cb2d2615e1b8470c4170871dbae198702 /src/nix-store/main.cc
parent60feff82cf4dd89c9039914c5b3ef8e1b8acf8e7 (diff)
* Updated `nix-store --verify' to the new schema.
Diffstat (limited to 'src/nix-store/main.cc')
-rw-r--r--src/nix-store/main.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-store/main.cc b/src/nix-store/main.cc
index f9bd3323f447..a3c1b8fa782e 100644
--- a/src/nix-store/main.cc
+++ b/src/nix-store/main.cc
@@ -215,8 +215,8 @@ static void opQuery(Strings opFlags, Strings opArgs)
                 Path path = maybeUseOutput(*i, useOutput, forceRealise);
                 if (query == qRequisites)
                     storePathRequisites(path, includeOutputs, paths);
-                else if (query == qReferences) queryReferences(path, paths);
-                else if (query == qReferers) queryReferers(path,  paths);
+                else if (query == qReferences) queryReferences(noTxn, path, paths);
+                else if (query == qReferers) queryReferers(noTxn, path,  paths);
                 else if (query == qReferersClosure) computeFSClosure(path, paths, true);
             }
             printPathSet(paths);