We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3b6f93 commit f62489eCopy full SHA for f62489e
flake.nix
@@ -70,12 +70,13 @@
70
kframework = k-framework.packages.${system}.pyk-python310;
71
pykwasm = wasm-semantics.packages.${system}.kwasm-pyk;
72
# 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
- }
+ numpy = if pkgs.stdenv.isDarwin
+ then
+ prevPython.numpy.overrideAttrs (old: {
+ buildInputs = (old.buildInputs or []) ++ [ pkgs.Accelerate ];
+ NPY_BLAS_ORDER = "accelerate";
+ NPY_LAPACK_ORDER = "accelerate";
79
+ })
80
else
81
prevPython.numpy;
82
});
0 commit comments