Skip to content

Commit

Permalink
chore: add more darwin overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Dec 16, 2024
1 parent e7e2972 commit 2a4fcd4
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions nix/pyproject-overrides.nix
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ let
scikit-learn.meson-python = [ ];
scikit-learn.ninja = [ ];
scikit-learn.cython = [ ];
scipy.meson-python = [ ];
scipy.ninja = [ ];
scipy.packaging = [ ];
};
in
(lib.optionalAttrs stdenv.hostPlatform.isDarwin {
Expand All @@ -59,6 +56,24 @@ in
];
});
}) // lib.mapAttrs (name: spec: addBuildSystems prev.${name} spec) buildSystemOverrides // {
scipy = prev.scipy.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.meson-python
final.cython
final.packaging
pkgs.ninja
];
});

scikit-learn = prev.scikit-learn.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.meson-python
final.cython
final.packaging
pkgs.ninja
];
});

pyproj = prev.pyproj.overrideAttrs (attrs: {
nativeBuildInputs = attrs.nativeBuildInputs or [ ] ++ [
final.setuptools
Expand Down

0 comments on commit 2a4fcd4

Please sign in to comment.