Unverified Commit acc31684 authored by Andrew Marshall's avatar Andrew Marshall Committed by GitHub
Browse files

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

Otherwise we have two opensubdiv drvs in the closure.
parent 53879a32
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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