cudaPackages.removeStubsFromRunpathHook: remove guard for platform offsets

Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
This commit is contained in:
Connor Baker
2025-11-25 19:27:38 +00:00
parent 9d38d180db
commit 85ff775894
@@ -6,10 +6,6 @@ if [[ -n ${removeStubsFromRunpathHookOnce-} ]]; then
nixDebugLog "skipping sourcing removeStubsFromRunpathHook.bash (hostOffset=$hostOffset) (targetOffset=$targetOffset)" \
"because it has already been sourced"
return 0
elif [[ -n ${strictDeps:-} ]] && ! ((hostOffset == -1 && targetOffset == 0)); then
nixDebugLog "skipping sourcing removeStubsFromRunpathHook.bash (hostOffset=$hostOffset) (targetOffset=$targetOffset)" \
"because it is not in nativeBuildInputs"
return 0
fi
declare -g removeStubsFromRunpathHookOnce=1