cudaPackages.buildRedist: remove outdated comment and format

Signed-off-by: Connor Baker <ConnorBaker01@gmail.com>
This commit is contained in:
Connor Baker
2025-11-26 01:28:15 +00:00
parent 413abbfe75
commit eca21ba099
@@ -161,11 +161,8 @@ checkCudaHasStubsIffIncludeRemoveStubsFromRunpathHook() {
hasStubs=1
fi
# The dependency should be recorded in both propagated-native-build-inputs and propagated-build-inputs, so the
# hook is propagated regardless of which dependency array includes the stubs-providing output.
hasRemoveStubsFromRunpathHook=0
if grep --silent --no-messages removeStubsFromRunpathHook "${!outputName:?}/nix-support/propagated-build-inputs"
then
if grep --silent --no-messages removeStubsFromRunpathHook "${!outputName:?}/nix-support/propagated-build-inputs"; then
hasRemoveStubsFromRunpathHook=1
fi