diff options
author | Linus Heckemann <git@sphalerite.org> | 2018-11-16 16:13:28 +0100 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2018-11-16 16:24:36 +0100 |
commit | 40e0c9e925e266c1b0944d9810f3a7f3dd6ec544 (patch) | |
tree | d5440a1a8ffd0ab7f14ba8af39207759b83a3801 /src | |
parent | a32ff2573ba4d0df4e3360c5a96398738da953f6 (diff) |
nix ls-nar: allow reading from FIFOs
fixes #2528
Diffstat (limited to 'src')
-rw-r--r-- | src/nix/ls.cc | 2 |
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)))); } }; |