aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-03-17 09:49:18 +0900
committerOphestra <cat@gensokyo.uk>2025-03-17 12:26:19 +0900
commit33855381422932a208fa412bd4a96c0905aafdf1 (patch)
tree070feaa36174174fb52ebdbfc76bd24d41a71084 /package.nix
parent24618ab9a1524e8b8986a9bf67667288e642fcf1 (diff)
nix: clean up flake outputs
Signed-off-by: Ophestra <cat@gensokyo.uk>
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;
}