From eca21ba0990d1a2cf3c22643bf8eb01944ff4b72 Mon Sep 17 00:00:00 2001 From: Connor Baker Date: Wed, 26 Nov 2025 01:28:15 +0000 Subject: [PATCH] cudaPackages.buildRedist: remove outdated comment and format Signed-off-by: Connor Baker --- .../cuda-modules/buildRedist/buildRedistHook.bash | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/pkgs/development/cuda-modules/buildRedist/buildRedistHook.bash b/pkgs/development/cuda-modules/buildRedist/buildRedistHook.bash index 30b5ab5ca1e8..afd838df4e31 100644 --- a/pkgs/development/cuda-modules/buildRedist/buildRedistHook.bash +++ b/pkgs/development/cuda-modules/buildRedist/buildRedistHook.bash @@ -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