aboutsummaryrefslogtreecommitdiff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2018-11-16 16:13:28 +0100
committerLinus Heckemann <git@sphalerite.org>2018-11-16 16:24:36 +0100
commit40e0c9e925e266c1b0944d9810f3a7f3dd6ec544 (patch)
treed5440a1a8ffd0ab7f14ba8af39207759b83a3801 /src/nix/ls.cc
parenta32ff2573ba4d0df4e3360c5a96398738da953f6 (diff)
nix ls-nar: allow reading from FIFOs
fixes #2528
Diffstat (limited to 'src/nix/ls.cc')
-rw-r--r--src/nix/ls.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix/ls.cc b/src/nix/ls.cc
index e99622faf..d089be42f 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<std::string>(readFile(narPath))));
+ list(makeNarAccessor(make_ref<std::string>(readFile(narPath, true))));
}
};