forked from mirrors/nixpkgs
go: Remove pkg/obj directory from the build outputs.
This appears to be causing the go package to be roughly 900MB in size.
This commit is contained in:
parent
5e5cd96189
commit
cdeb26ee76
|
@ -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
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue