nix: cuda: rely on propagatedBuildInputs

Listing individual outputs no longer necessary to reduce
the runtime closure size after https://github.com/NixOS/nixpkgs/pull/323056
This commit is contained in:
Someone Serge 2024-07-07 00:44:35 +00:00
parent 0d2c7321e9
commit 5a618f0138
No known key found for this signature in database
GPG key ID: 7B0E3B1390D61DA4

View file

@ -126,16 +126,9 @@ let
++ optionals useMetalKit [ MetalKit ];
cudaBuildInputs = with cudaPackages; [
cuda_cccl.dev # <nv/target>
# 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
cuda_cudart
cuda_cccl # <nv/target>
libcublas
];
rocmBuildInputs = with rocmPackages; [