about summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks/patch-shebangs.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/build-support/setup-hooks/patch-shebangs.sh')
-rw-r--r--pkgs/build-support/setup-hooks/patch-shebangs.sh6
1 files changed, 0 insertions, 6 deletions
diff --git a/pkgs/build-support/setup-hooks/patch-shebangs.sh b/pkgs/build-support/setup-hooks/patch-shebangs.sh
index c51fce708f35..5a7f23b2d816 100644
--- a/pkgs/build-support/setup-hooks/patch-shebangs.sh
+++ b/pkgs/build-support/setup-hooks/patch-shebangs.sh
@@ -7,12 +7,6 @@
 
 fixupOutputHooks+=('if [ -z "$dontPatchShebangs" ]; then patchShebangs "$prefix"; fi')
 
-preConfigurePhases+=" patchShebangsPhase"
-
-patchShebangsPhase() {
-    if [ -z "$dontPatchSourceShebangs" ]; then patchShebangs "."; fi
-}
-
 patchShebangs() {
     local dir="$1"
     header "patching script interpreter paths in $dir"