aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2018-08-03 20:39:07 +0200
committerEelco Dolstra <edolstra@gmail.com>2018-08-03 21:20:38 +0200
commiteeebe4cdc509aaaefb70d4af55e5174a75c0281f (patch)
tree980689fdf5061322efd1d07762124fc04f3a5acd /src
parent848a9375c3753202bf53defda469ca5d7538e135 (diff)
cmdDumpStorePath: Support chroot stores
Diffstat (limited to 'src')
-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 e1e27ceef..942fe50e8 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: {