Skip to content

Commit

Permalink
nix: cuda: rely on propagatedBuildInputs (#8772)
Browse files Browse the repository at this point in the history
Listing individual outputs no longer necessary to reduce the runtime closure size after NixOS/nixpkgs#323056.
  • Loading branch information
SomeoneSerge authored Jul 30, 2024
1 parent 7e72aa7 commit 268c566
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .devops/nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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; [
Expand Down

0 comments on commit 268c566

Please sign in to comment.