Skip to content

Commit dd0e12c

Browse files
committed
nix: cuda: reduce runtime closure
1 parent a16f589 commit dd0e12c

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.devops/nix/package.nix

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,15 @@ let
8989

9090
cudaBuildInputs = with cudaPackages; [
9191
cuda_cccl.dev # <nv/target>
92-
cuda_cudart
93-
libcublas
92+
93+
# A temporary hack for reducing the closure size, remove once cudaPackages
94+
# have stopped using lndir: https://github.com/NixOS/nixpkgs/issues/271792
95+
cuda_cudart.dev
96+
cuda_cudart.lib
97+
cuda_cudart.static
98+
libcublas.dev
99+
libcublas.lib
100+
libcublas.static
94101
];
95102

96103
rocmBuildInputs = with rocmPackages; [

0 commit comments

Comments
 (0)