go: removeGodocExternals no longer needed
This commit is contained in:
parent
86c298b510
commit
84538c25da
@ -1,5 +1,4 @@
|
|||||||
{ stdenv, fetchurl, bison, glibc, bash, coreutils, makeWrapper, tzdata, iana_etc
|
{ stdenv, fetchurl, bison, glibc, bash, coreutils, makeWrapper, tzdata, iana_etc }:
|
||||||
, removeGodocExternals ? false }:
|
|
||||||
|
|
||||||
let
|
let
|
||||||
loader386 = "${glibc}/lib/ld-linux.so.2";
|
loader386 = "${glibc}/lib/ld-linux.so.2";
|
||||||
@ -51,8 +50,6 @@ 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
|
||||||
'' + stdenv.lib.optionalString removeGodocExternals ''
|
|
||||||
sed -i -e '/googleapi/d' -e '/javascript">$/,+6d' lib/godoc/godoc.html
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
patches = [ ./cacert-1.2.patch ];
|
patches = [ ./cacert-1.2.patch ];
|
||||||
|
Loading…
Reference in New Issue
Block a user