aboutsummaryrefslogtreecommitdiff
path: root/src/nix/ls.cc
diff options
context:
space:
mode:
authorGuillaume Bouchard <guillaume.bouchard@tweag.io>2020-04-29 18:42:19 +0200
committerGuillaume Bouchard <guillaume.bouchard@tweag.io>2020-04-29 18:43:45 +0200
commit7afcb5af988eb0ce73c9916b809f8528dfb14c0f (patch)
tree99c4ed13e436d0946ebd24becc061d24b6a6223d /src/nix/ls.cc
parent5a34a473dd14200ffeff496f0e8e4518f7992765 (diff)
Remove the `drain` argument from `readFile`
Now it is always `drain` (see previous commit).
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 8590199d7..ee308a6ec 100644
--- a/src/nix/ls.cc
+++ b/src/nix/ls.cc
@@ -136,7 +136,7 @@ struct CmdLsNar : Command, MixLs
void run() override
{
- list(makeNarAccessor(make_ref<std::string>(readFile(narPath, true))));
+ list(makeNarAccessor(make_ref<std::string>(readFile(narPath))));
}
};