dev/go: pull in static glibc

This commit is contained in:
steveej 2016-07-26 17:33:33 -07:00
parent 5dd3af6206
commit 208f64015a

View file

@ -5,7 +5,10 @@ version,
extraBuildInputs ? [] }: extraBuildInputs ? [] }:
let let
go = builtins.getAttr "go_${version}" pkgs; go = builtins.getAttr "go_${version}" pkgs;
goBuildInputs = with pkgs; [ buildInputs = with pkgs; [
glibc.out
glibc.static
go go
gotools gotools
#gotools.bin #gotools.bin
@ -28,6 +31,6 @@ let
''; '';
in pkgs.stdenv.mkDerivation { in pkgs.stdenv.mkDerivation {
inherit name; inherit name;
buildInputs = extraBuildInputs ++ goBuildInputs;
shellHook = (goShellHook) { inherit name; inherit go; }; shellHook = (goShellHook) { inherit name; inherit go; };
buildInputs = extraBuildInputs ++ buildInputs;
} }