1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 06:01:48 +02:00

nix-store -l: Automatically pipe output into $PAGER

This commit is contained in:
Eelco Dolstra 2014-08-20 15:12:58 +02:00
parent 894fa5e42d
commit 392430b2c4
4 changed files with 56 additions and 2 deletions

View file

@ -459,6 +459,8 @@ static void opReadLog(Strings opFlags, Strings opArgs)
{
if (!opFlags.empty()) throw UsageError("unknown flag");
RunPager pager;
foreach (Strings::iterator, i, opArgs) {
Path path = useDeriver(followLinksToStorePath(*i));