about summary refs log tree commit diff
path: root/src/nix-store
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-03-01T13·47+0100
committerEelco Dolstra <edolstra@gmail.com>2017-03-01T13·47+0100
commit56e19d970db33de6b7aef088cde57817b5a61d61 (patch)
tree44503cd7a9c47f32c7ccbe71791ba21836ace643 /src/nix-store
parente321551d540df340fadaa1b088d9e5225193c87a (diff)
nix-store --import: Fix importing unsigned paths
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 868ec2f5a2d0..950c2a7c977f 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -724,7 +724,7 @@ static void opImport(Strings opFlags, Strings opArgs)
     if (!opArgs.empty()) throw UsageError("no arguments expected");
 
     FdSource source(STDIN_FILENO);
-    Paths paths = store->importPaths(source, 0);
+    Paths paths = store->importPaths(source, nullptr, true);
 
     for (auto & i : paths)
         cout << format("%1%\n") % i << std::flush;