We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11687d0 commit 3fa9f1fCopy full SHA for 3fa9f1f
1 file changed
pkgs/development/python-modules/jaxlib/bin.nix
@@ -77,7 +77,13 @@ buildPythonPackage rec {
77
# python version.
78
disabled = !(pythonVersion == "3.10");
79
80
- src = if !cudaSupport then cpuSrcs."${stdenv.hostPlatform.system}" else gpuSrc;
+ # See https://discourse.nixos.org/t/ofborg-does-not-respect-meta-platforms/27019/6.
81
+ src =
82
+ if !cudaSupport then
83
+ (
84
+ cpuSrcs."${stdenv.hostPlatform.system}"
85
+ or (throw "jaxlib-bin is not supported on ${stdenv.hostPlatform.system}")
86
+ ) else gpuSrc;
87
88
# Prebuilt wheels are dynamically linked against things that nix can't find.
89
# Run `autoPatchelfHook` to automagically fix them.
0 commit comments