go_bootstrap: remove top-level attribute (#113113)

this package should only be used internally for go_*
This commit is contained in:
zowoq
2021-02-15 10:06:35 -08:00
committed by GitHub
parent 274109a8d6
commit d9be3c767c
5 changed files with 35 additions and 16 deletions
+6 -1
View File
@@ -4,15 +4,20 @@
, buildPackages
, pkgsBuildTarget
, fetchpatch
, callPackage
}:
let
inherit (lib) optionals optionalString;
go_bootstrap = callPackage ./bootstrap.nix {
inherit Security;
};
goBootstrap = runCommand "go-bootstrap" {} ''
mkdir $out
cp -rf ${buildPackages.go_bootstrap}/* $out/
cp -rf ${go_bootstrap}/* $out/
chmod -R u+w $out
find $out -name "*.c" -delete
cp -rf $out/bin/* $out/share/go/bin/