3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications
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
..
accessibility
audio
backup
blockchains Merge master into staging-next 2021-09-13 00:01:41 +00:00
display-managers
editors
gis
graphics Merge staging-next into staging 2021-09-14 00:01:57 +00:00
kde
logging/humioctl
misc Merge staging-next into staging 2021-09-13 18:01:51 +00:00
networking Merge master into staging-next 2021-09-14 00:01:23 +00:00
office Merge pull request #136887 from r-ryantm/auto-update/kitsas 2021-09-12 15:47:36 -07:00
printing/pappl
qubes/qubes-core-vchan-xen
radio
science Merge staging-next into staging 2021-09-13 18:01:51 +00:00
search
system
terminal-emulators
version-management git: ensure we are using the correct shell binary for tests 2021-09-14 11:24:11 +02:00
video openshot-qt: 2.6.0 -> 2.6.1 2021-09-12 22:21:01 +00:00
virtualization
window-managers