diff --git a/pkgs/development/compilers/cudatoolkit/hooks/setup-cuda-hook.sh b/pkgs/development/compilers/cudatoolkit/hooks/setup-cuda-hook.sh index 7b7b3bdde80e3..4f1009adfc02e 100644 --- a/pkgs/development/compilers/cudatoolkit/hooks/setup-cuda-hook.sh +++ b/pkgs/development/compilers/cudatoolkit/hooks/setup-cuda-hook.sh @@ -1,7 +1,7 @@ # shellcheck shell=bash -# Only run the hook from nativeBuildInputs -(( "$hostOffset" == -1 && "$targetOffset" == 0)) || return 0 +# Starting with 24.05: only run the hook from nativeBuildInputs +# (( "$hostOffset" == -1 && "$targetOffset" == 0)) || return 0 guard=Sourcing reason=