Skip to content

Commit f62489e

Browse files
committed
tmp
1 parent a3b6f93 commit f62489e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

flake.nix

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -70,12 +70,13 @@
7070
kframework = k-framework.packages.${system}.pyk-python310;
7171
pykwasm = wasm-semantics.packages.${system}.kwasm-pyk;
7272
# override numpy on Darwin to avoid the missing dynamic library issue
73-
numpy = if pkgs.stdenv.isDarwin
74-
then
75-
prevPython.numpy.override {
76-
blas = null;
77-
lapack = null;
78-
}
73+
numpy = if pkgs.stdenv.isDarwin
74+
then
75+
prevPython.numpy.overrideAttrs (old: {
76+
buildInputs = (old.buildInputs or []) ++ [ pkgs.Accelerate ];
77+
NPY_BLAS_ORDER = "accelerate";
78+
NPY_LAPACK_ORDER = "accelerate";
79+
})
7980
else
8081
prevPython.numpy;
8182
});

0 commit comments

Comments
 (0)