From cdeb26ee769b04e6495eccc5b7e22906d08206f6 Mon Sep 17 00:00:00 2001 From: Colin Rice Date: Mon, 24 Sep 2018 03:22:39 +0000 Subject: [PATCH] go: Remove pkg/obj directory from the build outputs. This appears to be causing the go package to be roughly 900MB in size. --- pkgs/development/compilers/go/1.11.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/compilers/go/1.11.nix b/pkgs/development/compilers/go/1.11.nix index e4872597e79..56d363f1015 100644 --- a/pkgs/development/compilers/go/1.11.nix +++ b/pkgs/development/compilers/go/1.11.nix @@ -178,6 +178,7 @@ stdenv.mkDerivation rec { preFixup = '' rm -r $out/share/go/pkg/bootstrap + rm -r $out/share/go/pkg/obj ln -s $out/share/go/bin $out/bin '';