Merge pull request #43504 from Mic92/slim-go
go_1_10: remove cache artificates (closure size reduction)
This commit is contained in:
commit
d22cb7a619
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "iana-etc-${version}";
|
name = "iana-etc-${version}";
|
||||||
version = "20180405";
|
version = "20180711";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz";
|
url = "https://github.com/Mic92/iana-etc/releases/download/${version}/iana-etc-${version}.tar.gz";
|
||||||
sha256 = "0x6i95arrc4lcq2il3r05hbnd9vsi87z4yc8s3agkvbj74d6hfhj";
|
sha256 = "0xigkz6pcqx55px7fap7j6p3hz27agv056crbl5pgfcdix7y8z26";
|
||||||
};
|
};
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
|
@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0i89298dgnmpmam3ifkm0ax266vvbq1yz7wfw8wwrcma0szrbrnb";
|
sha256 = "0i89298dgnmpmam3ifkm0ax266vvbq1yz7wfw8wwrcma0szrbrnb";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
GOCACHE = "off";
|
||||||
|
|
||||||
# perl is used for testing go vet
|
# perl is used for testing go vet
|
||||||
nativeBuildInputs = [ perl which pkgconfig patch makeWrapper procps ];
|
nativeBuildInputs = [ perl which pkgconfig patch makeWrapper procps ];
|
||||||
buildInputs = [ cacert pcre ]
|
buildInputs = [ cacert pcre ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user