Skip to content

Commit

Permalink
python3Packages.jaxlib-build: refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-huan committed Jan 20, 2025
1 parent 17b7964 commit 0906c43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6584,10 +6584,9 @@ self: super: with self; {

jaxlib-bin = callPackage ../development/python-modules/jaxlib/bin.nix { };

jaxlib-build = callPackage ../development/python-modules/jaxlib rec {
# Some platforms don't have `cudaSupport` defined, hence the need for 'or false'.
jaxlib-build = callPackage ../development/python-modules/jaxlib {
inherit (pkgs.config) cudaSupport;
IOKit = pkgs.darwin.apple_sdk_11_0.IOKit;
inherit (pkgs.darwin.apple_sdk_11_0) IOKit;
};

jaxlib = jaxlib-bin;
Expand Down

0 comments on commit 0906c43

Please sign in to comment.