Unverified Commit 203fdbd9 authored by Vladimir Rubin's avatar Vladimir Rubin
Browse files

blender: move openUsdSupport from let-in to attrs

the reason for this change is having openUsdSupport in the let-in block
doesn't let users change it with overrides, but some users might want to
disable openusd support as it increases the build time by a lot
parent 63785f0e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,6 +53,7 @@
  llvmPackages,
  makeWrapper,
  mesa,
  openUsdSupport ? !stdenv.hostPlatform.isDarwin,
  openal,
  opencollada-blender,
  opencolorio,
@@ -92,7 +93,6 @@ let
    (!stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) || stdenv.hostPlatform.isDarwin;
  openImageDenoiseSupport =
    (!stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux) || stdenv.hostPlatform.isDarwin;
  openUsdSupport = !stdenv.hostPlatform.isDarwin;
  vulkanSupport = !stdenv.hostPlatform.isDarwin;

  python3 = python3Packages.python;