3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/build-support/setup-hooks
Andrew Childs ca156a66b7 stdenv/patchShebangs: fix off by one reading old interpreter
This caused shebangs that were already store paths to be rewritten.

Introduced by ab4c359822 in #94642

Example difference:

    $ echo "hello world" | tail -c+3
    llo world

    $ str="hello world"; echo ${str:3}
    lo world
2021-02-09 13:05:38 +09:00
..
wrap-gapps-hook wrapGAppsNoGuiHook: init 2020-11-26 14:06:07 +01:00
audit-blas.sh setup-hooks/audit-blas.sh: init 2020-04-17 16:24:25 -05:00
audit-tmpdir.sh
auto-patchelf.sh autoPatchelf: add comment why ignore failing ldd/sed 2020-12-25 12:13:03 +01:00
autoreconf.sh
breakpoint-hook.sh
compress-man-pages.sh compress-man-pages: symlink compressed manpages deterministically 2020-12-04 09:24:37 +01:00
copy-desktop-items.sh copyDesktopItems: add new setup-hook 2020-11-29 04:03:38 +01:00
die.sh
enable-coverage-instrumentation.sh
find-xml-catalogs.sh
fix-darwin-dylib-names.sh
gog-unpack.sh
install-shell-files.sh Recover the complicated situation after my bad merge 2020-10-26 09:01:04 +01:00
keep-build-tree.sh
ld-is-cc-hook.sh
make-coverage-analysis-report.sh
make-symlinks-relative.sh
make-wrapper.sh
move-docs.sh
move-lib64.sh
move-sbin.sh
move-systemd-user-units.sh hooks: add moveSystemdUserUnitsHook 2020-09-12 18:29:46 +02:00
multiple-outputs.sh stdenv: fix backward multiple outputs conditional 2020-06-29 13:56:27 +00:00
patch-shebangs.sh stdenv/patchShebangs: fix off by one reading old interpreter 2021-02-09 13:05:38 +09:00
prune-libtool-files.sh
reproducible-builds.sh stdenv: trim random seed to avoid reference cycles 2020-12-23 16:46:39 -08:00
role.bash *-wrapper; Switch from infixSalt to suffixSalt 2020-05-12 00:44:44 -04:00
separate-debug-info.sh
set-java-classpath.sh
set-source-date-epoch-to-latest.sh
setup-debug-info-dirs.sh
shorten-perl-shebang.sh
strip.sh setup-hooks/strip: silence 'File format not recognized' errors again 2021-01-02 10:46:27 +01:00
update-autotools-gnu-config-scripts.sh
use-old-cxx-abi.sh
validate-pkg-config.sh validatePkgConfig: fix variable scope 2020-10-18 14:00:05 +02:00
win-dll-link.sh