pciutils: split (only) man output

This commit is contained in:
Doron Behar
2026-02-09 14:20:36 +02:00
parent d96326566e
commit 21a1f598ca

View File

@@ -49,6 +49,15 @@ stdenv.mkDerivation (finalAttrs: {
"install-lib"
];
# Since this package doesn't use an autotools generated configure script,
# splitting the dev or lib outputs produces incorrect files, evident by e.g
# pkg-config files which point to wrong paths. manual pages OTH are moved to
# the $man outputs naturally by stdenv.
outputs = [
"out"
"man"
];
postInstall = ''
# Remove update-pciids as it won't work on nixos
rm $out/sbin/update-pciids $out/man/man8/update-pciids.8