blender: pass cudaSupport to openusd's opensubdiv (#439201)

Otherwise we have two opensubdiv drvs in the closure.
This commit is contained in:
Andrew Marshall
2025-09-06 22:12:45 -04:00
committed by GitHub
parent 53879a3202
commit acc316845d
+4 -1
View File
@@ -95,7 +95,10 @@ let
vulkanSupport = !stdenv.hostPlatform.isDarwin;
python3 = python3Packages.python;
pyPkgsOpenusd = python3Packages.openusd.override { withOsl = false; };
pyPkgsOpenusd = python3Packages.openusd.override (old: {
opensubdiv = old.opensubdiv.override { inherit cudaSupport; };
withOsl = false;
});
libdecor' = libdecor.overrideAttrs (old: {
# Blender uses private APIs, need to patch to expose them