container: provide usage example

This requires cgo so unfortunately will not run in the playground.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2025-11-14 18:11:39 +09:00
parent b7406cc4c4
commit 299685775a
4 changed files with 47 additions and 3 deletions

View File

@@ -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 =