go_1_4: rename to go_bootstrap and remove refs

This has cgo disabled, so only use this for bootstrapping.
This commit is contained in:
Robin Gloster
2016-08-29 01:48:55 +00:00
parent 06d63f6652
commit f81b2da3d4
3 changed files with 7 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchurl, tzdata, iana_etc, go_1_4, runCommand
{ stdenv, lib, fetchurl, tzdata, iana_etc, go_bootstrap, runCommand
, perl, which, pkgconfig, patch, fetchpatch
, pcre
, Security, Foundation, bash }:
@@ -6,7 +6,7 @@
let
goBootstrap = runCommand "go-bootstrap" {} ''
mkdir $out
cp -rf ${go_1_4}/* $out/
cp -rf ${go_bootstrap}/* $out/
chmod -R u+w $out
find $out -name "*.c" -delete
cp -rf $out/bin/* $out/share/go/bin/
@@ -143,7 +143,7 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
disallowedReferences = [ go_1_4 ];
disallowedReferences = [ go_bootstrap ];
meta = with stdenv.lib; {
branch = "1.6";

View File

@@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, tzdata, iana_etc, go_1_4, runCommand
{ stdenv, lib, fetchFromGitHub, tzdata, iana_etc, go_bootstrap, runCommand
, perl, which, pkgconfig, patch, fetchpatch
, pcre
, Security, Foundation, bash }:
@@ -6,7 +6,7 @@
let
goBootstrap = runCommand "go-bootstrap" {} ''
mkdir $out
cp -rf ${go_1_4}/* $out/
cp -rf ${go_bootstrap}/* $out/
chmod -R u+w $out
find $out -name "*.c" -delete
cp -rf $out/bin/* $out/share/go/bin/
@@ -153,7 +153,7 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
disallowedReferences = [ go_1_4 ];
disallowedReferences = [ go_bootstrap ];
meta = with stdenv.lib; {
branch = "1.7";