mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
python312.jaxlib-bin: throw on missing gpuSrc
Better throw than to do an uncatchable missing attribute error https://www.github.com/NixOS/nixpkgs/pull/338199
This commit is contained in:
parent
3c82d2b912
commit
05193982cf
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user