Skip to content

Commit d755dba

Browse files
committed
nix: cuda: rely on propagatedBuildInputs
Listing individual outputs no longer necessary to reduce the runtime closure size after NixOS/nixpkgs#323056
1 parent 30fdca6 commit d755dba

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.devops/nix/package.nix

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -109,16 +109,9 @@ let
109109
++ optionals useMetalKit [ MetalKit ];
110110

111111
cudaBuildInputs = with cudaPackages; [
112-
cuda_cccl.dev # <nv/target>
113-
114-
# A temporary hack for reducing the closure size, remove once cudaPackages
115-
# have stopped using lndir: https://github.com/NixOS/nixpkgs/issues/271792
116-
cuda_cudart.dev
117-
cuda_cudart.lib
118-
cuda_cudart.static
119-
libcublas.dev
120-
libcublas.lib
121-
libcublas.static
112+
cuda_cudart
113+
cuda_cccl # <nv/target>
114+
libcublas
122115
];
123116

124117
rocmBuildInputs = with rocmPackages; [

0 commit comments

Comments
 (0)