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:
parent
894fa5e42d
commit
392430b2c4
4 changed files with 56 additions and 2 deletions
|
@ -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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue