]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
nix: cuda: rely on propagatedBuildInputs (#8772)
authorSomeone <redacted>
Tue, 30 Jul 2024 20:35:30 +0000 (23:35 +0300)
committerGitHub <redacted>
Tue, 30 Jul 2024 20:35:30 +0000 (13:35 -0700)
Listing individual outputs no longer necessary to reduce the runtime closure size after https://github.com/NixOS/nixpkgs/pull/323056.

.devops/nix/package.nix

index 911c42ecb16cf6a5b60ed54b2a3a59ed1dce2cc6..a87423c71307909cf88ac9ddd6178c0fa3b95970 100644 (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; [