From ac560382c5fe69b8b5375a44117da99a35cbf8a6 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Sat, 15 Feb 2020 06:39:27 -0500 Subject: [PATCH] blender: fix build on darwin We don't compile blender with alembic. The linux build is able to detect that, but this is not done for darwin. This explicitly disables alembic to fix blender build on darwin. --- pkgs/applications/misc/blender/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix index ab1c82a7fe4a..c14d0cda1df5 100644 --- a/pkgs/applications/misc/blender/default.nix +++ b/pkgs/applications/misc/blender/default.nix @@ -75,7 +75,9 @@ stdenv.mkDerivation rec { ''; cmakeFlags = - [ "-DWITH_MOD_OCEANSIM=ON" + [ + "-DWITH_ALEMBIC=OFF" + "-DWITH_MOD_OCEANSIM=ON" "-DWITH_CODEC_FFMPEG=ON" "-DWITH_CODEC_SNDFILE=ON" "-DWITH_INSTALL_PORTABLE=OFF"