summary refs log tree commit diff
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2022-09-29 23:22:36 +0200
committerGitHub <noreply@github.com>2022-09-29 23:22:36 +0200
commitab5003daa583007b06da0443bd3256ced6ac6f8c (patch)
tree72810c73acab20a0e35eb64d0d0c1712c4527e1f
parentde9b0d1c04a07bbf55b70169623ac473f8f2c8d4 (diff)
parente0ab9af3968e03e6135b7759d203d88536979a64 (diff)
downloadnixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.tar
nixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.tar.gz
nixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.tar.bz2
nixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.tar.lz
nixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.tar.xz
nixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.tar.zst
nixpkgs-ab5003daa583007b06da0443bd3256ced6ac6f8c.zip
Merge pull request #192566 from tjni/opencolorio-1
-rw-r--r--pkgs/development/libraries/opencolorio/1.x.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/opencolorio/1.x.nix b/pkgs/development/libraries/opencolorio/1.x.nix
index 1b58faf5443..7622ebbe43e 100644
--- a/pkgs/development/libraries/opencolorio/1.x.nix
+++ b/pkgs/development/libraries/opencolorio/1.x.nix
@@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
     # External libyamlcpp 0.6.* not compatible: https://github.com/imageworks/OpenColorIO/issues/517
     "-DUSE_EXTERNAL_YAML=OFF"
   ] ++ lib.optional stdenv.isDarwin "-DOCIO_USE_BOOST_PTR=ON"
-    ++ lib.optional (!stdenv.hostPlatform.isx86) "-DOCIO_USE_SSE=OFF";
+    ++ lib.optional (!stdenv.hostPlatform.isx86) "-DOCIO_USE_SSE=OFF"
+    ++ lib.optional (stdenv.isDarwin && stdenv.isAarch64) "-DCMAKE_OSX_ARCHITECTURES=arm64";
 
   postInstall = ''
     mkdir -p $bin/bin; mv $out/bin $bin/