diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-10-30 13:59:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-30 13:59:16 +0100 |
commit | c74c030a0794c10cf3c1ec1e686efa28704430e2 (patch) | |
tree | 0ba5433ce8e03862d23f36049d7255dcb8676207 /pkgs/applications | |
parent | 18ff78f9552463abf95c76c2554ce5493ba0d799 (diff) | |
parent | c08e458e7f2ff57c28684e659c958695ecb84672 (diff) |
Merge pull request #264045 from kirillrdy/guitarix
guitarix: fix build
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/audio/guitarix/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/applications/audio/guitarix/default.nix b/pkgs/applications/audio/guitarix/default.nix index 3033888996a19..3a650646a8ae7 100644 --- a/pkgs/applications/audio/guitarix/default.nix +++ b/pkgs/applications/audio/guitarix/default.nix @@ -1,4 +1,5 @@ -{ lib, stdenv +{ lib +, stdenv , fetchurl , fetchpatch , avahi @@ -50,6 +51,12 @@ stdenv.mkDerivation rec { sha256 = "d+g9dU9RrDjFQj847rVd5bPiYSjmC1EbAtLe/PNubBg="; }; + # doesnt apply cleanly, so doing with substituteInPlace + # https://github.com/brummer10/guitarix/commit/39d7c21c4173eb0f121b1bbff439d9cf43331a00.patch + postPatch = '' + substituteInPlace wscript --replace "open(src_fname, 'rU')" "open(src_fname, 'r')" + ''; + nativeBuildInputs = [ gettext hicolor-icon-theme |