mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
fix cuda_gdb for libexpat.so.1 on aarch64
This commit is contained in:
parent
341ef0e80b
commit
49ec969b5b
@ -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 =
|
||||
|
Loading…
Reference in New Issue
Block a user