summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSomeone Serge <sergei.kozlukov@aalto.fi>2023-11-21 10:47:07 +0000
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-27 17:02:33 +0000
commitcb1d60fa89d16228ddcc83e8c8b78d7b69c6ef4e (patch)
tree5b7c08fea3b3fbfece9a5f38f964fbe7d9757527
parentpython311Packages.torch: fix typo in the cuda&&rocm error message (diff)
downloadnixpkgs-origin/backport-268746-to-release-23.11.tar.gz
magma: respect the global isStaticorigin/backport-268746-to-release-23.11
(cherry picked from commit 1e33c8819f402536bc765a6246fe8b5dfae0afb7)
-rw-r--r--pkgs/development/libraries/science/math/magma/generic.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/libraries/science/math/magma/generic.nix b/pkgs/development/libraries/science/math/magma/generic.nix
index 7052b684da93..1aaab46e1d1d 100644
--- a/pkgs/development/libraries/science/math/magma/generic.nix
+++ b/pkgs/development/libraries/science/math/magma/generic.nix
@@ -23,7 +23,7 @@
# At least one back-end has to be enabled,
# and we can't default to CUDA since it's unfree
, rocmSupport ? !cudaSupport
-, static ? false
+, static ? stdenv.hostPlatform.isStatic
, stdenv
, symlinkJoin
}: