diff options
author | Sebastian Sellmeier <mail@sebastian-sellmeier.de> | 2023-04-16 14:38:02 +0200 |
---|---|---|
committer | Sebastian Sellmeier <mail@sebastian-sellmeier.de> | 2023-04-16 21:56:18 +0200 |
commit | 670a6325291962dd852679273f60501fe81490a0 (patch) | |
tree | 3bc1c7f9b8a8073e3c16bcd80d7f8d9dd009d0f2 /pkgs/os-specific/linux/powertop | |
parent | 85b081528b937df4bfcaee80c3541b58f397df8b (diff) | |
download | nixpkgs-670a6325291962dd852679273f60501fe81490a0.tar nixpkgs-670a6325291962dd852679273f60501fe81490a0.tar.gz nixpkgs-670a6325291962dd852679273f60501fe81490a0.tar.bz2 nixpkgs-670a6325291962dd852679273f60501fe81490a0.tar.lz nixpkgs-670a6325291962dd852679273f60501fe81490a0.tar.xz nixpkgs-670a6325291962dd852679273f60501fe81490a0.tar.zst nixpkgs-670a6325291962dd852679273f60501fe81490a0.zip |
powertop: change substitute for xset
Diffstat (limited to 'pkgs/os-specific/linux/powertop')
-rw-r--r-- | pkgs/os-specific/linux/powertop/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/powertop/default.nix b/pkgs/os-specific/linux/powertop/default.nix index 02c2851177a..481cf1cd3bb 100644 --- a/pkgs/os-specific/linux/powertop/default.nix +++ b/pkgs/os-specific/linux/powertop/default.nix @@ -12,6 +12,7 @@ , nix-update-script , testers , powertop +, xorg }: stdenv.mkDerivation rec { @@ -32,7 +33,7 @@ stdenv.mkDerivation rec { postPatch = '' substituteInPlace src/main.cpp --replace "/sbin/modprobe" "modprobe" - substituteInPlace src/calibrate/calibrate.cpp --replace "/usr/bin/xset" "xset" + substituteInPlace src/calibrate/calibrate.cpp --replace "/usr/bin/xset" "${lib.getExe xorg.xset}" substituteInPlace src/tuning/bluetooth.cpp --replace "/usr/bin/hcitool" "hcitool" ''; |