inxi: add pciutils (optional dependency)

This commit is contained in:
Artturin 2020-11-08 00:09:21 +02:00 committed by Michael Weiss
parent b305e4dd7e
commit a91459c929
No known key found for this signature in database
GPG Key ID: 5BE487C4D4771D83

View File

@ -3,7 +3,7 @@
, withRecommends ? false # Install (almost) all recommended tools (see --recommends) , withRecommends ? false # Install (almost) all recommended tools (see --recommends)
, withRecommendedSystemPrograms ? withRecommends, util-linuxMinimal, dmidecode , withRecommendedSystemPrograms ? withRecommends, util-linuxMinimal, dmidecode
, file, hddtemp, iproute, ipmitool, usbutils, kmod, lm_sensors, smartmontools , file, hddtemp, iproute, ipmitool, usbutils, kmod, lm_sensors, smartmontools
, binutils, tree, upower , binutils, tree, upower, pciutils
, withRecommendedDisplayInformationPrograms ? withRecommends, glxinfo, xorg , withRecommendedDisplayInformationPrograms ? withRecommends, glxinfo, xorg
}: }:
@ -12,7 +12,7 @@ let
"--prefix PATH ':' '${stdenv.lib.makeBinPath programs}'"; "--prefix PATH ':' '${stdenv.lib.makeBinPath programs}'";
recommendedSystemPrograms = lib.optionals withRecommendedSystemPrograms [ recommendedSystemPrograms = lib.optionals withRecommendedSystemPrograms [
util-linuxMinimal dmidecode file hddtemp iproute ipmitool usbutils kmod util-linuxMinimal dmidecode file hddtemp iproute ipmitool usbutils kmod
lm_sensors smartmontools binutils tree upower lm_sensors smartmontools binutils tree upower pciutils
]; ];
recommendedDisplayInformationPrograms = lib.optionals recommendedDisplayInformationPrograms = lib.optionals
withRecommendedDisplayInformationPrograms withRecommendedDisplayInformationPrograms