pkgs/cfs-zen-tweaks: fix exec permission
This commit is contained in:
parent
86f3bba6d2
commit
4017ae36a2
1 changed files with 5 additions and 10 deletions
|
@ -17,21 +17,16 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "HRR2tdjNmWyrpbcMlihSdb/7g/tHma3YyXogQpRCVyo=";
|
sha256 = "HRR2tdjNmWyrpbcMlihSdb/7g/tHma3YyXogQpRCVyo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
postPatch = ''
|
preConfigure = ''
|
||||||
patchShebangs set-cfs-zen-tweaks.bash
|
|
||||||
chmod +x set-cfs-zen-tweaks.bash
|
|
||||||
substituteInPlace set-cfs-zen-tweaks.bash \
|
substituteInPlace set-cfs-zen-tweaks.bash \
|
||||||
--replace '$(gawk' '$(${gawk}/bin/gawk'
|
--replace '$(gawk' '$(${gawk}/bin/gawk'
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = [
|
preFixup = ''
|
||||||
gawk
|
chmod +x $out/lib/cfs-zen-tweaks/set-cfs-zen-tweaks.bash
|
||||||
];
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [ cmake ];
|
||||||
cmake
|
|
||||||
makeWrapper
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Tweak Linux CPU scheduler for desktop responsiveness";
|
description = "Tweak Linux CPU scheduler for desktop responsiveness";
|
||||||
|
|
Loading…
Reference in a new issue