mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 05:00:19 +00:00
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 New Issue
Block a user