From dd0e12c7410ac7e163c6d9b0dbcb9fe8ce3070c9 Mon Sep 17 00:00:00 2001 From: Someone Serge Date: Tue, 26 Dec 2023 04:02:11 +0000 Subject: [PATCH] nix: cuda: reduce runtime closure --- .devops/nix/package.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.devops/nix/package.nix b/.devops/nix/package.nix index 8d07508a1..0e10ba61e 100644 --- a/.devops/nix/package.nix +++ b/.devops/nix/package.nix @@ -89,8 +89,15 @@ let cudaBuildInputs = with cudaPackages; [ cuda_cccl.dev # - cuda_cudart - libcublas + + # 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 ]; rocmBuildInputs = with rocmPackages; [