Skip to content

Commit 6b93a63

Browse files
committed
Do not use flake in main branch via direnv.
There is a bug with arm darwin devices, where scipy doesn't build correctly...
1 parent 7fa5812 commit 6b93a63

File tree

2 files changed

+23
-1
lines changed

2 files changed

+23
-1
lines changed

.envrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
# use flake .
2-
use flake .#uv2nix
2+
# use flake .#uv2nix

flake.nix

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,28 @@
6868
numba = prev.numba.overrideAttrs (old: {
6969
buildInputs = (old.buildInputs or [ ]) ++ [ pkgs.tbb_2021_11 ];
7070
});
71+
# scipy = prev.scipy.overrideAttrs (old: {
72+
# build-system =
73+
# (old.build-system or [ ])
74+
# ++ (with final; [
75+
# cython
76+
# meson-python
77+
# # pythran
78+
# setuptools
79+
# ])
80+
# ++ (with pkgs; [
81+
# gfortran
82+
# nukeReferences
83+
# pkg-config
84+
# ])
85+
# ++ lib.optionals final.stdenv.hostPlatform.isDarwin [
86+
# # Minimal version required according to:
87+
# # https://github.com/scipy/scipy/blob/v1.14.0/scipy/meson.build#L185-L188
88+
# (final.xcbuild.override {
89+
# sdkVer = "13.3";
90+
# })
91+
# ];
92+
# });
7193
};
7294

7395
python = pkgs.python3;

0 commit comments

Comments
 (0)