From 81d3bd60a46d0f3eba92ca2659b4cbef50745368 Mon Sep 17 00:00:00 2001 From: Daniel Schaefer Date: Wed, 1 May 2019 03:18:35 +0200 Subject: [PATCH] patchShebangs: Explain that script must be executable --- pkgs/build-support/setup-hooks/patch-shebangs.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/build-support/setup-hooks/patch-shebangs.sh b/pkgs/build-support/setup-hooks/patch-shebangs.sh index f4a865e96687..1dac1ca4d7b3 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//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)