Skip to content

Commit

Permalink
python312.jaxlib-bin: throw on missing gpuSrc (NixOS#339879)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilazy authored Sep 5, 2024
2 parents 2ff3306 + 0519398 commit da6e1b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/development/python-modules/jaxlib/bin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ buildPythonPackage {
or (throw "jaxlib-bin is not supported on ${stdenv.hostPlatform.system}")
)
else
gpuSrcs."${gpuSrcVersionString}";
gpuSrcs."${gpuSrcVersionString}" or (throw "jaxlib-bin: No gpuSrc for ${gpuSrcVersionString}");

# Prebuilt wheels are dynamically linked against things that nix can't find.
# Run `autoPatchelfHook` to automagically fix them.
Expand Down

0 comments on commit da6e1b1

Please sign in to comment.