summaryrefslogtreecommitdiffstats
path: root/pkgs/applications/video/openshot-qt
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/video/openshot-qt')
-rw-r--r--pkgs/applications/video/openshot-qt/libopenshot-audio.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/applications/video/openshot-qt/libopenshot-audio.nix b/pkgs/applications/video/openshot-qt/libopenshot-audio.nix
index bf77e8a8f0da..a5f3cbf1fda2 100644
--- a/pkgs/applications/video/openshot-qt/libopenshot-audio.nix
+++ b/pkgs/applications/video/openshot-qt/libopenshot-audio.nix
@@ -28,6 +28,12 @@ stdenv.mkDerivation rec {
sha256 = "sha256-XtwTZsj/L/sw/28E7Qr5UyghGlBFFXvbmZLGXBB8vg0=";
};
+ # https://github.com/OpenShot/libopenshot-audio/issues/112
+ postPatch = ''
+ substituteInPlace JuceLibraryCode/modules/juce_core/native/juce_osx_ObjCHelpers.h \
+ --replace "#if ! JUCE_IOS" "#if ! JUCE_IOS && ! JUCE_ARM"
+ '';
+
nativeBuildInputs = [
cmake
doxygen
@@ -63,7 +69,5 @@ stdenv.mkDerivation rec {
license = with licenses; gpl3Plus;
maintainers = with maintainers; [ AndersonTorres ];
platforms = with platforms; unix;
- # never built on aarch64-darwin since first introduction in nixpkgs
- broken = stdenv.isDarwin && stdenv.isAarch64;
};
}