From 40e0c9e925e266c1b0944d9810f3a7f3dd6ec544 Mon Sep 17 00:00:00 2001 From: Linus Heckemann Date: Fri, 16 Nov 2018 16:13:28 +0100 Subject: nix ls-nar: allow reading from FIFOs fixes #2528 --- src/nix/ls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nix/ls.cc b/src/nix/ls.cc index e99622faf472..d089be42fb20 100644 --- a/src/nix/ls.cc +++ b/src/nix/ls.cc @@ -148,7 +148,7 @@ struct CmdLsNar : Command, MixLs void run() override { - list(makeNarAccessor(make_ref(readFile(narPath)))); + list(makeNarAccessor(make_ref(readFile(narPath, true)))); } }; -- cgit 1.4.1