Skip to content

Commit 312229d

Browse files
committed
blender: fix build on aarch64-linux (missing sse2neon dep)
1 parent abaad96 commit 312229d

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
@@ -216,6 +216,8 @@ stdenv'.mkDerivation (finalAttrs: {
216216
]
217217
++ lib.optionals stdenv.hostPlatform.isDarwin [
218218
(lib.cmakeFeature "LIBDIR" "/does-not-exist")
219+
]
220+
++ lib.optionals stdenv.hostPlatform.isAarch64 [
219221
(lib.cmakeFeature "SSE2NEON_INCLUDE_DIR" "${sse2neon}/include")
220222
];
221223

@@ -307,9 +309,9 @@ stdenv'.mkDerivation (finalAttrs: {
307309
apple-sdk_15
308310
brotli
309311
llvmPackages.openmp
310-
sse2neon
311312
]
312313
)
314+
++ lib.optionals stdenv.hostPlatform.isAarch64 [ sse2neon ]
313315
++ lib.optionals cudaSupport [ cudaPackages.cuda_cudart ]
314316
++ lib.optionals openUsdSupport [ pyPkgsOpenusd ]
315317
++ lib.optionals waylandSupport [

0 commit comments

Comments
 (0)