diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-08-15 04:57:37 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-08-15 05:16:51 +0900 |
| commit | 4ffeec3004607b76f73e504da220a1490c598348 (patch) | |
| tree | 68cca16c22814b13974db0f19c151f8eb31e2dae /cmd/hpkg/app.go | |
| parent | 9ed3ba85eaba4bc4bd12b290dc4daf00ffe159dc (diff) | |
hst/enablement: editor friendly enablement adaptor
Having the bit field value here (in decimal, no less) is unfriendly to text editors. Use a bunch of booleans here to improve ease of use.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg/app.go')
| -rw-r--r-- | cmd/hpkg/app.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/hpkg/app.go b/cmd/hpkg/app.go index 131f839d..4493dad7 100644 --- a/cmd/hpkg/app.go +++ b/cmd/hpkg/app.go @@ -8,7 +8,6 @@ import ( "hakurei.app/container" "hakurei.app/container/seccomp" "hakurei.app/hst" - "hakurei.app/system" "hakurei.app/system/dbus" ) @@ -41,7 +40,7 @@ type appInfo struct { // passed through to [hst.Config] SessionBus *dbus.Config `json:"session_bus,omitempty"` // passed through to [hst.Config] - Enablements system.Enablement `json:"enablements"` + Enablements *hst.Enablements `json:"enablements,omitempty"` // passed through to [hst.Config] Multiarch bool `json:"multiarch,omitempty"` |
