nixpkgs/pkgs/applications/version-management/git-and-tools/git
Andreas Rammhold a683d78ed0 git: ensure we are using the correct shell binary for tests
Previosuly the test scripts used /bin/sh which is a bit of an impurity.
It is mostly well-behaved but it essentially leaks the hosts state into
the build as /bin/sh points to some minimal shell implementation
configured on the host OS.

By patching the shebgangs of all the test scripts in the test folder
(t/*.sh) we can make sure that those run with the correct shell binary.

This was found as part of a random build failure of gitMinimal in
response to the systemd v249 PR being merged [0]. Since we have to
somehow touch the hash of the derivation to make the build failure go
away we might as well fix the hardcoded /bin/sh issue.

[0] 64556974b6 (commitcomment-56385360)
2021-09-14 11:24:11 +02:00
..
default.nix git: ensure we are using the correct shell binary for tests 2021-09-14 11:24:11 +02:00
docbook2texi.patch git: 2.19.2 -> 2.21.0 2019-02-25 19:21:45 +00:00
git-send-email-honor-PATH.patch git: 2.32.0 -> 2.33.0 2021-08-17 11:25:09 +02:00
git-sh-i18n.patch git: 2.19.2 -> 2.21.0 2019-02-25 19:21:45 +00:00
installCheck-path.patch git: 2.19.2 -> 2.21.0 2019-02-25 19:21:45 +00:00
ssh-path.patch git: 2.19.2 -> 2.21.0 2019-02-25 19:21:45 +00:00
update.sh git: Fix the update.sh script and use HTTPS 2020-04-21 14:30:11 +02:00