Merge pull request #33279 from lopsided98/go-stdenv-shell
go-1.8, go-1.9: use stdenv.shell instead of /usr/bin/env bash
This commit is contained in:
commit
bc5bf95858
@ -83,7 +83,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
|
sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
|
||||||
'' + optionalString stdenv.isArm ''
|
'' + optionalString stdenv.isArm ''
|
||||||
sed -i '/TestCurrent/areturn' src/os/user/user_test.go
|
sed -i '/TestCurrent/areturn' src/os/user/user_test.go
|
||||||
echo '#!/usr/bin/env bash' > misc/cgo/testplugin/test.bash
|
echo '#!${stdenv.shell}' > misc/cgo/testplugin/test.bash
|
||||||
'' + optionalString stdenv.isDarwin ''
|
'' + optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace src/race.bash --replace \
|
substituteInPlace src/race.bash --replace \
|
||||||
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
|
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
|
||||||
|
@ -87,7 +87,7 @@ stdenv.mkDerivation rec {
|
|||||||
sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
|
sed -i 's,/usr/share/zoneinfo/,${tzdata}/share/zoneinfo/,' src/time/zoneinfo_unix.go
|
||||||
'' + optionalString stdenv.isArm ''
|
'' + optionalString stdenv.isArm ''
|
||||||
sed -i '/TestCurrent/areturn' src/os/user/user_test.go
|
sed -i '/TestCurrent/areturn' src/os/user/user_test.go
|
||||||
echo '#!/usr/bin/env bash' > misc/cgo/testplugin/test.bash
|
echo '#!${stdenv.shell}' > misc/cgo/testplugin/test.bash
|
||||||
'' + optionalString stdenv.isDarwin ''
|
'' + optionalString stdenv.isDarwin ''
|
||||||
substituteInPlace src/race.bash --replace \
|
substituteInPlace src/race.bash --replace \
|
||||||
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
|
"sysctl machdep.cpu.extfeatures | grep -qv EM64T" true
|
||||||
|
Loading…
Reference in New Issue
Block a user