aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.nix
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-14 18:11:39 +0900
committerOphestra <cat@gensokyo.uk>2025-11-14 18:25:22 +0900
commit299685775a373bfcf18f03a1c2b7db996ff90267 (patch)
treeaa4de1d5dc9a749053144a6edfb9207c0c3a168a /package.nix
parentb7406cc4c45765f9a0caad472a858f06cd6bd024 (diff)
container: provide usage example
This requires cgo so unfortunately will not run in the playground. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'package.nix')
-rw-r--r--package.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/package.nix b/package.nix
index b8518a94..21aee353 100644
--- a/package.nix
+++ b/package.nix
@@ -24,6 +24,7 @@
# for check
util-linux,
+ nettools,
glibc, # for ldd
withStatic ? stdenv.hostPlatform.isStatic,
@@ -98,6 +99,9 @@ buildGoModule rec {
nativeBuildInputs = [
pkg-config
makeBinaryWrapper
+
+ # for container example
+ nettools
];
postInstall =