diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-06-15 21:56:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 21:56:00 +0200 |
commit | 95c729c030b3011c5c89107ac9fa30f7249135fe (patch) | |
tree | 468f5605462321979b1964a71f0c0a59f0620722 /pkgs/os-specific | |
parent | 7a53daed2a71fd4b7b177bc48f2f9c996a5bb4b2 (diff) | |
parent | 4017ae36a215fb6124d370a6bc254db595d4be77 (diff) |
Merge pull request #223952 from m-bdf/fix-cfs-zen-tweaks
Fix cfs-zen-tweaks
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/cfs-zen-tweaks/default.nix | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/pkgs/os-specific/linux/cfs-zen-tweaks/default.nix b/pkgs/os-specific/linux/cfs-zen-tweaks/default.nix index a894e0bd4b69b..ef5dfe8e2e064 100644 --- a/pkgs/os-specific/linux/cfs-zen-tweaks/default.nix +++ b/pkgs/os-specific/linux/cfs-zen-tweaks/default.nix @@ -17,21 +17,16 @@ stdenv.mkDerivation rec { sha256 = "HRR2tdjNmWyrpbcMlihSdb/7g/tHma3YyXogQpRCVyo="; }; - postPatch = '' - patchShebangs set-cfs-zen-tweaks.bash - chmod +x set-cfs-zen-tweaks.bash + preConfigure = '' substituteInPlace set-cfs-zen-tweaks.bash \ --replace '$(gawk' '$(${gawk}/bin/gawk' ''; - buildInputs = [ - gawk - ]; + preFixup = '' + chmod +x $out/lib/cfs-zen-tweaks/set-cfs-zen-tweaks.bash + ''; - nativeBuildInputs = [ - cmake - makeWrapper - ]; + nativeBuildInputs = [ cmake ]; meta = with lib; { description = "Tweak Linux CPU scheduler for desktop responsiveness"; |