Skip to content

Commit

Permalink
Merge pull request NixOS#264045 from kirillrdy/guitarix
Browse files Browse the repository at this point in the history
guitarix: fix build
  • Loading branch information
wegank authored Oct 30, 2023
2 parents 18ff78f + c08e458 commit c74c030
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion pkgs/applications/audio/guitarix/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{ lib, stdenv
{ lib
, stdenv
, fetchurl
, fetchpatch
, avahi
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c74c030

Please sign in to comment.