about summary refs log tree commit diff
path: root/pkgs/applications/audio/surge
diff options
context:
space:
mode:
authorThomas Churchman <thomas@kepow.org>2021-03-17 10:53:39 +0100
committerThomas Churchman <thomas@kepow.org>2021-03-17 11:02:04 +0100
commitd9eefb9dc3156d02a5b78a659852e69eadf14b6d (patch)
tree8af33e7bf27abfef9a3be85d8e17c7c09f730152 /pkgs/applications/audio/surge
parent1b70a024817973750c2d97ca0b4b10abc8dd3f80 (diff)
surge: 1.7.1 -> 1.8.1
Diffstat (limited to 'pkgs/applications/audio/surge')
-rw-r--r--pkgs/applications/audio/surge/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/applications/audio/surge/default.nix b/pkgs/applications/audio/surge/default.nix
index 831253246947f..ed15d49cfe03c 100644
--- a/pkgs/applications/audio/surge/default.nix
+++ b/pkgs/applications/audio/surge/default.nix
@@ -4,13 +4,13 @@
 
 stdenv.mkDerivation rec {
   pname = "surge";
-  version = "1.7.1";
+  version = "1.8.1";
 
   src = fetchFromGitHub {
     owner = "surge-synthesizer";
     repo = pname;
     rev = "release_${version}";
-    sha256 = "1b3ccc78vrpzy18w7070zfa250dnd1bww147xxcnj457vd6n065s";
+    sha256 = "0lla860g7zgn9n1zgy14g4j72d5n5y7isyxz2w5xy2fzdpdg24ql";
     leaveDotGit = true; # for SURGE_VERSION
     fetchSubmodules = true;
   };
@@ -20,9 +20,10 @@ stdenv.mkDerivation rec {
 
   postPatch = ''
     substituteInPlace src/common/SurgeStorage.cpp --replace "/usr/share/Surge" "$out/share/surge"
-    substituteInPlace src/common/gui/PopupEditorDialog.cpp --replace '"zenity' '"${zenity}/bin/zenity'
     substituteInPlace src/linux/UserInteractionsLinux.cpp --replace '"zenity' '"${zenity}/bin/zenity'
     substituteInPlace vstgui.surge/vstgui/lib/platform/linux/x11fileselector.cpp --replace /usr/bin/zenity ${zenity}/bin/zenity
+    patchShebangs scripts/linux/emit-vector-piggy
+    patchShebangs scripts/linux/generate-lv2-ttl
   '';
 
   installPhase = ''