Merge pull request #2544 from mayflower/lsnar-allow-fifo

nix ls-nar: allow reading from FIFOs
This commit is contained in:
Eelco Dolstra
2018-11-17 22:07:10 +01:00
committed by GitHub
+1 -1
View File
@@ -148,7 +148,7 @@ struct CmdLsNar : Command, MixLs
void run() override
{
list(makeNarAccessor(make_ref<std::string>(readFile(narPath))));
list(makeNarAccessor(make_ref<std::string>(readFile(narPath, true))));
}
};