The CUDA nix build broke when we updated nixpkgs in
8cd1bcfd3fc9f2b5cbafd7fb7581b3278acec25f. As far as I can tell all
that happened is cudaPackages.autoAddOpenGLRunpathHook got moved to
pkgs.autoAddDriverRunpath. This commit fixes it.
mpi,
blas,
cudaPackages,
+ autoAddDriverRunpath,
darwin,
rocmPackages,
vulkan-headers,
]
++ optionals useCuda [
cudaPackages.cuda_nvcc
-
- # TODO: Replace with autoAddDriverRunpath
- # once https://github.com/NixOS/nixpkgs/pull/275241 has been merged
- cudaPackages.autoAddOpenGLRunpathHook
+ autoAddDriverRunpath
]
++ optionals (effectiveStdenv.hostPlatform.isGnu && enableStatic) [
glibc.static