aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/package.nix b/package.nix
index 3088ec3e..5169beaf 100644
--- a/package.nix
+++ b/package.nix
@@ -19,6 +19,10 @@
gnutar,
coreutils,
+ # for passthru.buildInputs
+ go,
+ gcc,
+
glibc, # for ldd
withStatic ? stdenv.hostPlatform.isStatic,
}:
@@ -108,4 +112,13 @@ buildGoModule rec {
)
}
'';
+
+ passthru.targetPkgs =
+ [
+ go
+ gcc
+ xorg.xorgproto
+ ]
+ ++ buildInputs
+ ++ nativeBuildInputs;
}