aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/dispatcher.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-11-13 07:29:46 +0900
committerOphestra <cat@gensokyo.uk>2025-11-13 07:29:46 +0900
commitbe0e387ab07c7d9f1441365a05c4c0141779184a (patch)
tree93ec7478d8d0faa320dfc86ad01cf39a364330c8 /internal/outcome/dispatcher.go
parentabeb67964f52f245f7d529e4dfe01f8347932bfd (diff)
internal/info: relocate from internal
This is cleaner and makes more sense. The longer LDFLAGS was never a valid concern since it is always inserted by a script. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/outcome/dispatcher.go')
-rw-r--r--internal/outcome/dispatcher.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/outcome/dispatcher.go b/internal/outcome/dispatcher.go
index e2feb373..20c70a4b 100644
--- a/internal/outcome/dispatcher.go
+++ b/internal/outcome/dispatcher.go
@@ -14,7 +14,7 @@ import (
"hakurei.app/container/check"
"hakurei.app/container/seccomp"
"hakurei.app/container/std"
- "hakurei.app/internal"
+ "hakurei.app/internal/info"
"hakurei.app/internal/system/dbus"
"hakurei.app/message"
)
@@ -156,7 +156,7 @@ func (direct) seccompLoad(rules []std.NativeRule, flags seccomp.ExportFlag) erro
return seccomp.Load(rules, flags)
}
-func (direct) mustHsuPath() *check.Absolute { return internal.MustHsuPath() }
+func (direct) mustHsuPath() *check.Absolute { return info.MustHsuPath() }
func (direct) dbusAddress() (session, system string) { return dbus.Address() }