diff options
| author | Michael Lohmann <mi.al.lohmann@gmail.com> | 2024-08-10 22:36:49 +0200 |
|---|---|---|
| committer | Michael Lohmann <mi.al.lohmann@gmail.com> | 2024-08-10 22:36:49 +0200 |
| commit | fd1f078fea05b1b197a3ede8d0c832f2359aa6cd (patch) | |
| tree | 478550075b423f45008c51d0754b3c64af61faa6 /pkgs/development/python-modules/rangehttpserver | |
| parent | e1d92cda6fd1bcec60e4938ce92fcee619eea793 (diff) | |
nixos-rebuild: remove list-generations piping into $PAGER
In https://github.com/NixOS/nixpkgs/issues/333734 it was noticed that
executing the list-generations with sudo would fail. The reason was,
that the variable $PAGER was set, but empty.
${PAGER:cat} only has the default of cat if PAGER is unset, but it will
not default to cat if the variable is empty instead.
One way of fixing this would have been to change it to ${PAGER:-cat},
but since a pager requires pressing an additional key to exit, it is a
bit annoying in the first place, so it was removed instead.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions
