about summary refs log tree commit diff
path: root/pkgs/development/cuda-modules
diff options
context:
space:
mode:
authorgithub-actions[bot]2024-07-23 12:01:18 +0000
committerGitHub2024-07-23 12:01:18 +0000
commitd284ef371ef0ad8e60c6c69ca3b1b06b06432b00 (patch)
treedfc598788b149d550607a886d3c71de82834fa0c /pkgs/development/cuda-modules
parentb53c4a352d7f5686a1f74e9842374fb88cf66c5d (diff)
parent65f98a6801b89162cd0cf3b0f4be53c62b6811f2 (diff)
Merge master into staging-next
Diffstat (limited to 'pkgs/development/cuda-modules')
-rw-r--r--pkgs/development/cuda-modules/cuda/overrides.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/development/cuda-modules/cuda/overrides.nix b/pkgs/development/cuda-modules/cuda/overrides.nix
index 46e4401f6a26..3970830e7567 100644
--- a/pkgs/development/cuda-modules/cuda/overrides.nix
+++ b/pkgs/development/cuda-modules/cuda/overrides.nix
@@ -156,13 +156,17 @@ filterAndCreateOverrides {
     {
       cudaAtLeast,
       gmp,
+      expat,
+      stdenv,
       lib,
     }:
     prevAttrs: {
       buildInputs =
         prevAttrs.buildInputs
         # x86_64 only needs gmp from 12.0 and on
-        ++ lib.lists.optionals (cudaAtLeast "12.0") [ gmp ];
+        ++ lib.lists.optionals (cudaAtLeast "12.0") [ gmp ]
+        # aarch64,sbsa needs expat
+        ++ lib.lists.optionals (stdenv.hostPlatform.isAarch64) [ expat ];
     };
 
   cuda_nvcc =