aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hpkg/with.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-10-14 07:02:14 +0900
committerOphestra <cat@gensokyo.uk>2025-10-14 07:02:14 +0900
commitf95e0a7568e5115dd536f19834083bff392458b8 (patch)
tree535346062d66aac889120a511453f9d68c902263 /cmd/hpkg/with.go
parent4c647add0db06cc7a28571aee7502737f0d66b27 (diff)
hst/config: hold acl struct by value
Doc comments are also reworded for clarity. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg/with.go')
-rw-r--r--cmd/hpkg/with.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/hpkg/with.go b/cmd/hpkg/with.go
index 5d6eb87c..97f80105 100644
--- a/cmd/hpkg/with.go
+++ b/cmd/hpkg/with.go
@@ -28,7 +28,7 @@ func withNixDaemon(
mustRunAppDropShell(ctx, msg, updateConfig(&hst.Config{
ID: app.ID,
- ExtraPerms: []*hst.ExtraPermConfig{
+ ExtraPerms: []hst.ExtraPermConfig{
{Path: dataHome, Execute: true},
{Ensure: true, Path: pathSet.baseDir, Read: true, Write: true, Execute: true},
},
@@ -83,7 +83,7 @@ func withCacheDir(
mustRunAppDropShell(ctx, msg, &hst.Config{
ID: app.ID,
- ExtraPerms: []*hst.ExtraPermConfig{
+ ExtraPerms: []hst.ExtraPermConfig{
{Path: dataHome, Execute: true},
{Ensure: true, Path: pathSet.baseDir, Read: true, Write: true, Execute: true},
{Path: workDir, Execute: true},