nix ls-nar: allow reading from FIFOs

fixes #2528
This commit is contained in:
Linus Heckemann 2018-11-16 16:13:28 +01:00
parent a32ff2573b
commit 40e0c9e925

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