diff --git a/pkgs/development/python-modules/jaxlib/bin.nix b/pkgs/development/python-modules/jaxlib/bin.nix index 0932222e02b89..3104cee90e1c0 100644 --- a/pkgs/development/python-modules/jaxlib/bin.nix +++ b/pkgs/development/python-modules/jaxlib/bin.nix @@ -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.