cudaPackages.markForCudatoolkitRootHook: always set return explicitly
This commit is contained in:
parent
d22f03ede9
commit
ad2a4e862c
|
@ -7,7 +7,7 @@ echo "Sourcing mark-for-cudatoolkit-root-hook" >&2
|
|||
|
||||
markForCUDAToolkit_ROOT() {
|
||||
mkdir -p "${prefix}/nix-support"
|
||||
[[ -f "${prefix}/nix-support/include-in-cudatoolkit-root" ]] && return
|
||||
[[ -f "${prefix}/nix-support/include-in-cudatoolkit-root" ]] && return 0
|
||||
echo "$pname-$output" > "${prefix}/nix-support/include-in-cudatoolkit-root"
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue