From d755dba12a084aac4781fdb67b9e5a944433ef17 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Sun, 7 Jul 2024 00:44:35 +0000 Subject: [PATCH] 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 --- .devops/nix/package.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix index 49e9b75287b338..e1ceec041d8f9b 100644 --- a/.devops/nix/package.nix +++ b/.devops/nix/package.nix @@ -109,16 +109,9 @@ let ++ optionals useMetalKit [ MetalKit ]; cudaBuildInputs = with cudaPackages; [ - cuda_cccl.dev # - - # 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 # + libcublas ]; rocmBuildInputs = with rocmPackages; [