nix: cuda: reduce runtime closure

This commit is contained in:
Someone Serge 2023-12-26 04:02:11 +00:00
parent a16f58997c
commit dd0e12c741
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -89,8 +89,15 @@ let
cudaBuildInputs = with cudaPackages; [
cuda_cccl.dev # <nv/target>
cuda_cudart
libcublas
# A temporary hack for reducing the closure size, remove once cudaPackages
# have stopped using lndir: https://github.com/NixOS/nixpkgs/issues/271792
cuda_cudart.dev
cuda_cudart.lib
cuda_cudart.static
libcublas.dev
libcublas.lib
libcublas.static
];
rocmBuildInputs = with rocmPackages; [