mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-26 22:14:42 +00:00
cudaPackages.setupCudaHook: source only from nativeBuildInputs
This commit is contained in:
parent
d031523a01
commit
37ec2cb6b1
@ -1,5 +1,8 @@
|
||||
# shellcheck shell=bash
|
||||
|
||||
# Only run the hook from nativeBuildInputs
|
||||
(( "$hostOffset" == -1 && "$targetOffset" == 0)) || return 0
|
||||
|
||||
echo Sourcing setup-cuda-hook >&2
|
||||
|
||||
extendCUDAToolkit_ROOT() {
|
||||
|
Loading…
Reference in New Issue
Block a user