diff options
author | zowoq <59103226+zowoq@users.noreply.github.com> | 2021-02-16 04:06:35 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-15 10:06:35 -0800 |
commit | d9be3c767cbc2551f3e041add8b1a00ac10e8b21 (patch) | |
tree | 8b6015762d929fd8a584f4698f8644648cd92810 /pkgs/development/compilers/go/2-dev.nix | |
parent | 274109a8d6fe1fbde896e94e7e88133e36b4e250 (diff) | |
download | nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.tar nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.tar.gz nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.tar.bz2 nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.tar.lz nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.tar.xz nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.tar.zst nixpkgs-d9be3c767cbc2551f3e041add8b1a00ac10e8b21.zip |
go_bootstrap: remove top-level attribute (#113113)
this package should only be used internally for go_*
Diffstat (limited to 'pkgs/development/compilers/go/2-dev.nix')
-rw-r--r-- | pkgs/development/compilers/go/2-dev.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/development/compilers/go/2-dev.nix b/pkgs/development/compilers/go/2-dev.nix index 3e09f7c0fad..8b8df28e1b6 100644 --- a/pkgs/development/compilers/go/2-dev.nix +++ b/pkgs/development/compilers/go/2-dev.nix @@ -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/ |