diff --git a/pkgs/development/python-modules/torch/source/default.nix b/pkgs/development/python-modules/torch/source/default.nix index 3f006e3e4384..c374f7f87271 100644 --- a/pkgs/development/python-modules/torch/source/default.nix +++ b/pkgs/development/python-modules/torch/source/default.nix @@ -14,7 +14,7 @@ autoAddDriverRunpath, effectiveMagma ? if cudaSupport then - magma-cuda-static + magma-cuda-static.override { inherit cudaPackages; } else if rocmSupport then magma-hip else