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 ? [] }:
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue