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
commit 2f8255cba1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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))));
}
};