diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-11-14 19:41:50 +0100 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-11-14 23:37:31 +0100 |
commit | c9223a17bc86fda888b36b7fde9ebc5bed3f0463 (patch) | |
tree | 365fc15319d53f8c63f7bf6b03b61014d1cc0275 /pkgs/build-support/setup-hooks/patch-shebangs.sh | |
parent | 25fafd2eb5599c6d61357964f9802c260c81556a (diff) | |
download | nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.tar nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.tar.gz nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.tar.bz2 nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.tar.lz nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.tar.xz nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.tar.zst nixpkgs-c9223a17bc86fda888b36b7fde9ebc5bed3f0463.zip |
Revert "patch-shebangs: use --build for auto patch shebangs"
Completely breaks darwin. Every package in the stdenv that has shebangs in the output will end up with references to bootstrap-tools. This reverts commit eb7c50a993833ecdb94cc3affb55ac4c560edf50.
Diffstat (limited to 'pkgs/build-support/setup-hooks/patch-shebangs.sh')
-rw-r--r-- | pkgs/build-support/setup-hooks/patch-shebangs.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pkgs/build-support/setup-hooks/patch-shebangs.sh b/pkgs/build-support/setup-hooks/patch-shebangs.sh index b35c3c87625..441f230869b 100644 --- a/pkgs/build-support/setup-hooks/patch-shebangs.sh +++ b/pkgs/build-support/setup-hooks/patch-shebangs.sh @@ -102,12 +102,10 @@ patchShebangs() { patchShebangsAuto () { if [ -z "$dontPatchShebangs" -a -e "$prefix" ]; then - if [ -z "${strictDeps-}"]; then - patchShebangs --build "$prefix" # Dev output will end up being run on the build platform. An # example case of this is sdl2-config. Otherwise, we can just # use the runtime path (--host). - elif [ "$output" != out ] && [ "$output" = "${!outputDev}" ]; then + if [ "$output" != out ] && [ "$output" = "${!outputDev}" ]; then patchShebangs --build "$prefix" else patchShebangs --host "$prefix" |