Skip to content

Commit b7bd886

Browse files
authored
blender: fix build on aarch64-linux (missing sse2neon dep) (#510887)
2 parents 13239a4 + 312229d commit b7bd886

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

pkgs/by-name/bl/blender/package.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ stdenv'.mkDerivation (finalAttrs: {
219219
]
220220
++ lib.optionals stdenv.hostPlatform.isDarwin [
221221
(lib.cmakeFeature "LIBDIR" "/does-not-exist")
222+
]
223+
++ lib.optionals stdenv.hostPlatform.isAarch64 [
222224
(lib.cmakeFeature "SSE2NEON_INCLUDE_DIR" "${sse2neon}/include")
223225
];
224226

@@ -310,9 +312,9 @@ stdenv'.mkDerivation (finalAttrs: {
310312
apple-sdk_15
311313
brotli
312314
llvmPackages.openmp
313-
sse2neon
314315
]
315316
)
317+
++ lib.optionals stdenv.hostPlatform.isAarch64 [ sse2neon ]
316318
++ lib.optionals cudaSupport [ cudaPackages.cuda_cudart ]
317319
++ lib.optionals openUsdSupport [ pyPkgsOpenusd ]
318320
++ lib.optionals waylandSupport [

0 commit comments

Comments
 (0)