diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-14 18:11:39 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-14 18:25:22 +0900 |
| commit | 299685775a373bfcf18f03a1c2b7db996ff90267 (patch) | |
| tree | aa4de1d5dc9a749053144a6edfb9207c0c3a168a /package.nix | |
| parent | b7406cc4c45765f9a0caad472a858f06cd6bd024 (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.nix | 4 |
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 = |
