mirror of
https://github.com/hyprwm/hyprsysteminfo.git
synced 2024-11-24 06:55:59 +01:00
Nix: prefix PATH with pciutils
This commit is contained in:
parent
a0d09b1fd6
commit
e740e9ab01
1 changed files with 5 additions and 2 deletions
|
@ -10,7 +10,7 @@
|
||||||
version ? "0",
|
version ? "0",
|
||||||
}: let
|
}: let
|
||||||
inherit (lib.sources) cleanSource cleanSourceWith;
|
inherit (lib.sources) cleanSource cleanSourceWith;
|
||||||
inherit (lib.strings) hasSuffix;
|
inherit (lib.strings) hasSuffix makeBinPath;
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
pname = "hyprsysteminfo";
|
pname = "hyprsysteminfo";
|
||||||
|
@ -33,12 +33,15 @@ in
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
hyprutils
|
hyprutils
|
||||||
kdePackages.kirigami-addons
|
kdePackages.kirigami-addons
|
||||||
pciutils
|
|
||||||
qt6.qtbase
|
qt6.qtbase
|
||||||
qt6.qtsvg
|
qt6.qtsvg
|
||||||
qt6.qtwayland
|
qt6.qtwayland
|
||||||
];
|
];
|
||||||
|
|
||||||
|
preFixup = ''
|
||||||
|
qtWrapperArgs+=(--prefix PATH : "${makeBinPath [pciutils]}")
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "A tiny qt6/qml application to display information about the running system";
|
description = "A tiny qt6/qml application to display information about the running system";
|
||||||
homepage = "https://github.com/hyprwm/hyprsysteminfo";
|
homepage = "https://github.com/hyprwm/hyprsysteminfo";
|
||||||
|
|
Loading…
Reference in a new issue