3
0
Fork 0
forked from mirrors/nixpkgs

go: removeGodocExternals no longer needed

This commit is contained in:
Mathijs Kwik 2013-12-12 15:45:10 +01:00
parent 86c298b510
commit 84538c25da

View file

@ -1,5 +1,4 @@
{ stdenv, fetchurl, bison, glibc, bash, coreutils, makeWrapper, tzdata, iana_etc
, removeGodocExternals ? false }:
{ stdenv, fetchurl, bison, glibc, bash, coreutils, makeWrapper, tzdata, iana_etc }:
let
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
# Disable the hostname test
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 ];