about summary refs log tree commit diff
path: root/pkgs/applications/misc/blender
diff options
context:
space:
mode:
authorMatthew Croughan <matt@croughan.sh>2023-04-07 21:24:54 +0100
committerGitHub <noreply@github.com>2023-04-07 16:24:54 -0400
commitc0615e86d1e78f500d54d76f341e0a200909b0cd (patch)
treeb7156e280f6014124b085a4f1596eaf440a96466 /pkgs/applications/misc/blender
parente8c05fe2e1a31a92731b92b6f78c2ff997d25e61 (diff)
blender: allow dynamically linked embree (#225168)
Diffstat (limited to 'pkgs/applications/misc/blender')
-rw-r--r--pkgs/applications/misc/blender/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/misc/blender/default.nix b/pkgs/applications/misc/blender/default.nix
index ef27432b686b9..319b264a36e70 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