diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-11-12 23:03:22 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-11-12 23:03:22 +0900 |
| commit | b5630f6883c874d458d9ae3c666cfb7ae5e3121d (patch) | |
| tree | e2c488165211b1f68b9eaef8469d92a81ba37f43 /test/sandbox/tool | |
| parent | 17ffdb2dcf3bb5c8edf277a017cecd8e71a2e26b (diff) | |
test: move package sandbox internal
This should never be used outside vm tests.
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 | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/sandbox/tool/main.go b/test/sandbox/tool/main.go index ef3325de..889142d4 100644 --- a/test/sandbox/tool/main.go +++ b/test/sandbox/tool/main.go @@ -12,7 +12,7 @@ import ( "strings" "syscall" - "hakurei.app/test/sandbox" + "hakurei.app/test/internal/sandbox" ) var ( diff --git a/test/sandbox/tool/package.nix b/test/sandbox/tool/package.nix index 92829b29..13e18272 100644 --- a/test/sandbox/tool/package.nix +++ b/test/sandbox/tool/package.nix @@ -12,7 +12,7 @@ buildGoModule rec { src = builtins.path { name = "${pname}-src"; - path = lib.cleanSource ../.; + path = lib.cleanSource ../../.; filter = path: type: (type == "directory") || (type == "regular" && lib.hasSuffix ".go" path); }; vendorHash = null; @@ -23,7 +23,7 @@ buildGoModule rec { nativeBuildInputs = [ pkg-config ]; preBuild = '' - go mod init hakurei.app/test/sandbox >& /dev/null + go mod init hakurei.app/test >& /dev/null ''; postInstall = '' |
