1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-01-22 06:36:43 +00:00
nixpkgs/pkgs/applications/version-management
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
..
arch
bcompare
bitkeeper
blackbox blackbox: only doCheck on x86_64-linux 2021-09-07 23:41:15 +03:00
bumpver
commitizen
cvs
cvs-fast-export
cvs2svn
cvsps
cvsq
danger-gitlab danger-gitlab: init at 8.0.0 2021-09-01 08:39:22 +03:00
dvc
fossil fossil: 2.15.1 -> 2.16 2021-08-28 12:42:41 -07:00
gerrit
git-and-tools git: ensure we are using the correct shell binary for tests 2021-09-14 11:24:11 +02:00
git-backup
git-crecord
git-lfs treewide: buildFlagsArray -> ldflags 2021-08-26 15:43:28 +10:00
git-repo gitRepo: 2.16 -> 2.16.7 2021-09-11 17:34:04 +00:00
git-review
git-sizer
git-up
gitea gitea: 1.15.0 -> 1.15.2 2021-09-04 07:58:30 +09:00
github-desktop
gitinspector
gitkraken
gitlab gitlab: add back grpc patch 2021-09-03 13:23:45 +02:00
gitlab-triage
gitless
gitolite
gitoxide
gitstats
gogs
gomp
gource
guitone
meld
mercurial mercurial: 5.8 -> 5.9.1 2021-09-03 14:34:18 +00:00
monotone
monotone-viz
mr
nbstripout
nitpick
p4
p4v
peru
pijul
rabbitvcs
rapidsvn
rcs
redmine
reposurgeon
sit
smartgithg
sourcehut treewide: prometheus_client -> prometheus-client 2021-08-26 02:21:59 +02:00
sparkleshare
src
srcml
sublime-merge
subversion
tailor
tkcvs
tortoisehg tortoisehg: 5.8 -> 5.9 2021-09-03 14:34:28 +00:00
vcprompt
vcsh vcsh: 1.20170915 → 2.0.2 2021-09-06 12:52:11 +03:00
verco verco: init at 6.4.0 2021-09-09 15:37:33 -04:00
yadm yadm: 3.1.0 -> 3.1.1 2021-09-05 04:40:57 +00:00