From 208f64015a2ca4dbda812bc2abf3447f92eaefd3 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Tue, 26 Jul 2016 17:33:33 -0700 Subject: [PATCH] dev/go: pull in static glibc --- derivations/dev/go.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/derivations/dev/go.nix b/derivations/dev/go.nix index 57d1f8f..3bb8af8 100644 --- a/derivations/dev/go.nix +++ b/derivations/dev/go.nix @@ -5,7 +5,10 @@ version, extraBuildInputs ? [] }: let go = builtins.getAttr "go_${version}" pkgs; - goBuildInputs = with pkgs; [ + buildInputs = with pkgs; [ + glibc.out + glibc.static + go gotools #gotools.bin @@ -28,6 +31,6 @@ let ''; in pkgs.stdenv.mkDerivation { inherit name; - buildInputs = extraBuildInputs ++ goBuildInputs; shellHook = (goShellHook) { inherit name; inherit go; }; + buildInputs = extraBuildInputs ++ buildInputs; }