summary refs log tree commit diff
path: root/pkgs/applications/audio/distrho/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/audio/distrho/default.nix')
-rw-r--r--pkgs/applications/audio/distrho/default.nix10
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/applications/audio/distrho/default.nix b/pkgs/applications/audio/distrho/default.nix
index 0d2858713eb..646e2ccca15 100644
--- a/pkgs/applications/audio/distrho/default.nix
+++ b/pkgs/applications/audio/distrho/default.nix
@@ -1,6 +1,7 @@
 { stdenv, fetchFromGitHub, alsaLib, fftwSinglePrec, freetype, libjack2
 , pkgconfig, ladspa-sdk, premake3
 , libX11, libXcomposite, libXcursor, libXext, libXinerama, libXrender
+, fetchpatch
 }:
 
 let
@@ -26,7 +27,14 @@ in stdenv.mkDerivation rec {
     runHook postConfigure
   '';
 
-  patchPhase = ''
+  patches = [
+    (fetchpatch {
+      url = "https://github.com/DISTRHO/DISTRHO-Ports/commit/00ad25fd574c1724bbc974308aa5e88306969009.patch";
+      sha256 = "0hdnnvn35g76q7133azwalbm1dxs8dm2yg3zjjb1kzq0x6qrazx5";
+    })
+  ];
+
+  postPatch = ''
     sed -e "s#@./scripts#sh scripts#" -i Makefile
   '';