about summary refs log tree commit diff
path: root/src/nix-store
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-03T18·39+0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-03T19·20+0200
commiteeebe4cdc509aaaefb70d4af55e5174a75c0281f (patch)
tree980689fdf5061322efd1d07762124fc04f3a5acd /src/nix-store
parent848a9375c3753202bf53defda469ca5d7538e135 (diff)
cmdDumpStorePath: Support chroot stores
Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index e1e27ceef94d..942fe50e86ca 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -860,7 +860,7 @@ static void opServe(Strings opFlags, Strings opArgs)
             }
 
             case cmdDumpStorePath:
-                dumpPath(readStorePath(*store, in), out);
+                store->narFromPath(readStorePath(*store, in), out);
                 break;
 
             case cmdImportPaths: {