fix cuda_gdb for libexpat.so.1 on aarch64

This commit is contained in:
Yeongrok Gim 2024-07-11 14:15:33 +09:00
parent 341ef0e80b
commit 49ec969b5b

View File

@ -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 =