diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-07-07 20:11:29 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-07-07 20:11:29 +0900 |
| commit | 2b44493e8a255b40a9809208f5c751ca7c539027 (patch) | |
| tree | bac9737a7a8817e2693fd6d0c0666c308588d2c8 /test/sandbox/tool | |
| parent | c30dd4e630005fa6f2409d3a3c2400d512c52042 (diff) | |
test/sandbox: guard on testtool tag
This tool should not show up when building hakurei normally.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'test/sandbox/tool')
| -rw-r--r-- | test/sandbox/tool/main.go | 2 | ||||
| -rw-r--r-- | test/sandbox/tool/package.nix | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/test/sandbox/tool/main.go b/test/sandbox/tool/main.go index 77310744..f53950ce 100644 --- a/test/sandbox/tool/main.go +++ b/test/sandbox/tool/main.go @@ -1,3 +1,5 @@ +//go:build testtool + package main import ( diff --git a/test/sandbox/tool/package.nix b/test/sandbox/tool/package.nix index 43e21ca5..92829b29 100644 --- a/test/sandbox/tool/package.nix +++ b/test/sandbox/tool/package.nix @@ -17,6 +17,8 @@ buildGoModule rec { }; vendorHash = null; + tags = [ "testtool" ]; + buildInputs = [ util-linux ]; nativeBuildInputs = [ pkg-config ]; |
