diff --git a/nix/default.nix b/nix/default.nix index 153d4ff..355765e 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -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";