about summary refs log tree commit diff
path: root/pkgs/build-support/setup-hooks
diff options
context:
space:
mode:
authorDaniel Schaefer <git@danielschaefer.me>2019-05-01 03:18:35 +0200
committerDaniel Schaefer <git@danielschaefer.me>2019-05-25 16:15:54 +0200
commit81d3bd60a46d0f3eba92ca2659b4cbef50745368 (patch)
tree65a96a87e48a7883bd3598d3c22eee79c2051711 /pkgs/build-support/setup-hooks
parent62f9685a609a158007e76c0fb26cebf22aaed23c (diff)
patchShebangs: Explain that script must be executable
Diffstat (limited to 'pkgs/build-support/setup-hooks')
-rw-r--r--pkgs/build-support/setup-hooks/patch-shebangs.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/build-support/setup-hooks/patch-shebangs.sh b/pkgs/build-support/setup-hooks/patch-shebangs.sh
index f4a865e966878..1dac1ca4d7b30 100644
--- a/pkgs/build-support/setup-hooks/patch-shebangs.sh
+++ b/pkgs/build-support/setup-hooks/patch-shebangs.sh
@@ -4,6 +4,8 @@
 # /usr/bin/env gets special treatment so that ".../bin/env python" is
 # rewritten to /nix/store/<hash>/bin/python.  Interpreters that are
 # already in the store are left untouched.
+# A script file must be marked as executable, otherwise it will not be
+# considered.
 
 fixupOutputHooks+=(patchShebangsAuto)