diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-27 11:32:47 +0100 |
---|---|---|
committer | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2022-12-27 11:34:15 +0100 |
commit | c874cd0b3825124a3b067f7f8db4f060f209956c (patch) | |
tree | 6db01b6a578e7d0fe0f7d7ba802b399164305247 | |
parent | d97726bb767167a9baf67979bd37b3a1d45aa83e (diff) |
libsForQt5.libopenshot-audio: unbreak on aarch64-darwin
-rw-r--r-- | pkgs/applications/video/openshot-qt/libopenshot-audio.nix | 8 |
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 bf77e8a8f0da1..a5f3cbf1fda25 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; }; } |