From c0615e86d1e78f500d54d76f341e0a200909b0cd Mon Sep 17 00:00:00 2001 From: Matthew Croughan Date: Fri, 7 Apr 2023 21:24:54 +0100 Subject: [PATCH] blender: allow dynamically linked embree (#225168) --- pkgs/applications/misc/blender/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix index ef27432b686b..319b264a36e7 100644 --- a/pkgs/applications/misc/blender/default.nix +++ b/pkgs/applications/misc/blender/default.nix @@ -73,6 +73,8 @@ stdenv.mkDerivation rec { pythonPath = with python310Packages; [ numpy requests ]; postPatch = '' + # allow usage of dynamically linked embree + rm build_files/cmake/Modules/FindEmbree.cmake '' + (if stdenv.isDarwin then '' : > build_files/cmake/platform/platform_apple_xcode.cmake