3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/os-specific
Klemens Nanni 3af642c13a sysstat: Do not compress manual pages with xz(1)
sysstat compresses manual pages using the `ZIP` environment variable
unless `COMPRESS_MANPG` is set.

`ZIP` seems to default to xz(1) and is for more than just compressing
manuals.

At least with `documentation.man.mandoc.enable = true;` this renders
them unreadable:
```
$ man -w mpstat
man: outdated mandoc.db lacks mpstat(1) entry, run makewhatis /nix/store/lk0r6ibvkrvaq96gp8h4rqgrd2q0c8q5-system-path/share/man
/nix/store/lk0r6ibvkrvaq96gp8h4rqgrd2q0c8q5-system-path/share/man/man1/mpstat.1.xz

```
(followed by `PAGER` showing compressed mpstat.1.xz content.)

Disable manual page compression during build and thus defer it to Nix:
```
gzipping man pages under /nix/store/wl2dwl1lhs9g5w2d5dhr0pcskp78nz42-sysstat-12.4.5/share/man/
```

This also avoids potential runtime incompatibilites in sysstat
(I am not a `services.systat` user).
2022-05-26 15:46:37 +02:00
..
bsd
darwin moltenvk: provide MoltenVK-specific headers 2022-05-23 00:59:49 -04:00
linux sysstat: Do not compress manual pages with xz(1) 2022-05-26 15:46:37 +02:00
solo5 solo5: patch solo5-virtio-mkimage to use our Syslinux, etc 2022-02-05 21:32:18 +01:00
windows npiperelay: init at 0.1.0 2022-05-18 08:15:04 -04:00