Skip to content

Commit 268c566

Browse files
authored
nix: cuda: rely on propagatedBuildInputs (ggml-org#8772)
Listing individual outputs no longer necessary to reduce the runtime closure size after NixOS/nixpkgs#323056.
1 parent 7e72aa7 commit 268c566

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.devops/nix/package.nix

+3-10
Original file line numberDiff line numberDiff line change
@@ -126,16 +126,9 @@ let
126126
++ optionals useMetalKit [ MetalKit ];
127127

128128
cudaBuildInputs = with cudaPackages; [
129-
cuda_cccl.dev # <nv/target>
130-
131-
# A temporary hack for reducing the closure size, remove once cudaPackages
132-
# have stopped using lndir: https://github.com/NixOS/nixpkgs/issues/271792
133-
cuda_cudart.dev
134-
cuda_cudart.lib
135-
cuda_cudart.static
136-
libcublas.dev
137-
libcublas.lib
138-
libcublas.static
129+
cuda_cudart
130+
cuda_cccl # <nv/target>
131+
libcublas
139132
];
140133

141134
rocmBuildInputs = with rocmPackages; [

0 commit comments

Comments
 (0)