Merge pull request #269554 from mkg20001/cfs

This commit is contained in:
Maciej Krüger 2023-11-28 21:28:01 +01:00 committed by GitHub
commit 9513206861
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,22 +8,22 @@
stdenv.mkDerivation rec {
pname = "cfs-zen-tweaks";
version = "1.2.0";
version = "1.3.0";
src = fetchFromGitHub {
owner = "igo95862";
repo = "cfs-zen-tweaks";
rev = version;
sha256 = "HRR2tdjNmWyrpbcMlihSdb/7g/tHma3YyXogQpRCVyo=";
hash = "sha256-E3sNWWXm0NEqLCzFccd/nfYby+/b/MVjIHeGlDxV1W4=";
};
preConfigure = ''
substituteInPlace set-cfs-zen-tweaks.bash \
substituteInPlace set-cfs-zen-tweaks.sh \
--replace '$(gawk' '$(${gawk}/bin/gawk'
'';
preFixup = ''
chmod +x $out/lib/cfs-zen-tweaks/set-cfs-zen-tweaks.bash
chmod +x $out/lib/cfs-zen-tweaks/set-cfs-zen-tweaks.sh
'';
nativeBuildInputs = [ cmake ];