mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 22:03:54 +03:00
Merge pull request #4277 from matejc/fixothergos
go 1.1 and 1.2: fix builds by removing one test
This commit is contained in:
commit
2907d31248
@ -51,6 +51,8 @@ stdenv.mkDerivation {
|
|||||||
sed -i 's,/bin/pwd,'"`type -P pwd`", src/pkg/os/os_test.go
|
sed -i 's,/bin/pwd,'"`type -P pwd`", src/pkg/os/os_test.go
|
||||||
# Disable the hostname test
|
# Disable the hostname test
|
||||||
sed -i '/TestHostname/areturn' src/pkg/os/os_test.go
|
sed -i '/TestHostname/areturn' src/pkg/os/os_test.go
|
||||||
|
# ParseInLocation fails the test
|
||||||
|
sed -i '/TestParseInSydney/areturn' src/pkg/time/time_test.go
|
||||||
'' + stdenv.lib.optionalString removeGodocExternals ''
|
'' + stdenv.lib.optionalString removeGodocExternals ''
|
||||||
sed -i -e '/googleapi/d' -e '/javascript">$/,+6d' lib/godoc/godoc.html
|
sed -i -e '/googleapi/d' -e '/javascript">$/,+6d' lib/godoc/godoc.html
|
||||||
'';
|
'';
|
||||||
|
@ -50,6 +50,8 @@ stdenv.mkDerivation {
|
|||||||
sed -i 's,/bin/pwd,'"`type -P pwd`", src/pkg/os/os_test.go
|
sed -i 's,/bin/pwd,'"`type -P pwd`", src/pkg/os/os_test.go
|
||||||
# Disable the hostname test
|
# Disable the hostname test
|
||||||
sed -i '/TestHostname/areturn' src/pkg/os/os_test.go
|
sed -i '/TestHostname/areturn' src/pkg/os/os_test.go
|
||||||
|
# ParseInLocation fails the test
|
||||||
|
sed -i '/TestParseInSydney/areturn' src/pkg/time/time_test.go
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [ ./cacert-1.2.patch ];
|
patches = [ ./cacert-1.2.patch ];
|
||||||
|
Loading…
Reference in New Issue
Block a user