From 2b44493e8a255b40a9809208f5c751ca7c539027 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 7 Jul 2025 20:11:29 +0900 Subject: test/sandbox: guard on testtool tag This tool should not show up when building hakurei normally. Signed-off-by: Ophestra --- test/sandbox/tool/main.go | 2 ++ test/sandbox/tool/package.nix | 2 ++ 2 files changed, 4 insertions(+) (limited to 'test/sandbox/tool') 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 ]; -- cgit v1.3.1