From 1f93a82dc365839a89e3a0817b5b313088bc415a Mon Sep 17 00:00:00 2001 From: Guillaume Maudoux Date: Fri, 6 May 2016 00:43:54 +0200 Subject: [PATCH] go: do not strip upstream elf test data --- pkgs/development/compilers/go/1.4.nix | 2 ++ pkgs/development/compilers/go/1.6.nix | 2 ++ pkgs/development/compilers/go/1.7.nix | 2 ++ 3 files changed, 6 insertions(+) diff --git a/pkgs/development/compilers/go/1.4.nix b/pkgs/development/compilers/go/1.4.nix index eb4c64ed33406..5c6dd0d2562ba 100644 --- a/pkgs/development/compilers/go/1.4.nix +++ b/pkgs/development/compilers/go/1.4.nix @@ -118,6 +118,8 @@ stdenv.mkDerivation rec { setupHook = ./setup-hook.sh; + dontStripList = [ "share/go/src/debug/elf/testdata" ]; + meta = with stdenv.lib; { branch = "1.4"; homepage = http://golang.org/; diff --git a/pkgs/development/compilers/go/1.6.nix b/pkgs/development/compilers/go/1.6.nix index 982446f4fdb1c..16ee3a028cb47 100644 --- a/pkgs/development/compilers/go/1.6.nix +++ b/pkgs/development/compilers/go/1.6.nix @@ -146,6 +146,8 @@ stdenv.mkDerivation rec { setupHook = ./setup-hook.sh; + dontStripList = [ "share/go/src/debug/elf/testdata" ]; + disallowedReferences = [ go_bootstrap ]; meta = with stdenv.lib; { diff --git a/pkgs/development/compilers/go/1.7.nix b/pkgs/development/compilers/go/1.7.nix index 0df2e8d6f7e9e..be39cd69fa6e1 100644 --- a/pkgs/development/compilers/go/1.7.nix +++ b/pkgs/development/compilers/go/1.7.nix @@ -149,6 +149,8 @@ stdenv.mkDerivation rec { setupHook = ./setup-hook.sh; + dontStripList = [ "share/go/src/debug/elf/testdata" ]; + disallowedReferences = [ go_bootstrap ]; meta = with stdenv.lib; {