From 21a1f598cae7bc18ab974e641d0be0ba24fa90b9 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Mon, 9 Feb 2026 14:20:36 +0200 Subject: [PATCH] pciutils: split (only) man output --- pkgs/by-name/pc/pciutils/package.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/by-name/pc/pciutils/package.nix b/pkgs/by-name/pc/pciutils/package.nix index 3a316599f559..24363a4c5de0 100644 --- a/pkgs/by-name/pc/pciutils/package.nix +++ b/pkgs/by-name/pc/pciutils/package.nix @@ -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