about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh')
-rw-r--r--nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh b/nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh
index 89801eb7c21a..e75a84a9550e 100644
--- a/nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh
+++ b/nixpkgs/pkgs/development/compilers/cudatoolkit/hooks/nvcc-setup-hook.sh
@@ -2,4 +2,4 @@
 
 # CMake's enable_language(CUDA) runs a compiler test and it doesn't account for
 # CUDAToolkit_ROOT. We have to help it locate libcudart
-export NVCC_APPEND_FLAGS+=" -L@cudartRoot@/lib -I@cudartRoot@/include"
+export NVCC_APPEND_FLAGS+=" -L@cudartLib@/lib -L@cudartStatic@/lib -I@cudartInclude@/include"