nix-store --import: Fix importing unsigned paths

This commit is contained in:
Eelco Dolstra 2017-03-01 14:47:52 +01:00
parent e321551d54
commit 56e19d970d
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -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;