dev/go: pull in static glibc
This commit is contained in:
parent
5dd3af6206
commit
208f64015a
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue