Nix: prefix PATH with pciutils

This commit is contained in:
Mihai Fufezan 2024-10-13 20:58:05 +03:00
parent a0d09b1fd6
commit e740e9ab01
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg

View file

@ -10,7 +10,7 @@
version ? "0",
}: let
inherit (lib.sources) cleanSource cleanSourceWith;
inherit (lib.strings) hasSuffix;
inherit (lib.strings) hasSuffix makeBinPath;
in
stdenv.mkDerivation {
pname = "hyprsysteminfo";
@ -33,12 +33,15 @@ in
buildInputs = [
hyprutils
kdePackages.kirigami-addons
pciutils
qt6.qtbase
qt6.qtsvg
qt6.qtwayland
];
preFixup = ''
qtWrapperArgs+=(--prefix PATH : "${makeBinPath [pciutils]}")
'';
meta = {
description = "A tiny qt6/qml application to display information about the running system";
homepage = "https://github.com/hyprwm/hyprsysteminfo";