diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-07 20:06:26 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-07 20:57:58 +0900 |
| commit | 0e6c1a50260de141c50bb50fd3f2b2bcf9a3fe64 (patch) | |
| tree | dfe9c40ceb8c1be8d2728a2db9017bffef174d3d /cmd/hpkg/with.go | |
| parent | d23b4dc9e64d3f00e746c65f3038a1a6de44b8f5 (diff) | |
container/check: move absolute pathname
This allows use of absolute pathname values without importing container.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg/with.go')
| -rw-r--r-- | cmd/hpkg/with.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/hpkg/with.go b/cmd/hpkg/with.go index b3ccd47a..99de04d5 100644 --- a/cmd/hpkg/with.go +++ b/cmd/hpkg/with.go @@ -6,6 +6,7 @@ import ( "strings" "hakurei.app/container" + "hakurei.app/container/check" "hakurei.app/hst" ) @@ -63,7 +64,7 @@ func withNixDaemon( func withCacheDir( ctx context.Context, msg container.Msg, - action string, command []string, workDir *container.Absolute, + action string, command []string, workDir *check.Absolute, app *appInfo, pathSet *appPathSet, dropShell bool, beforeFail func()) { mustRunAppDropShell(ctx, msg, &hst.Config{ ID: app.ID, |
