aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/fpkg
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/fpkg')
-rw-r--r--cmd/fpkg/app.go1
-rw-r--r--cmd/fpkg/with.go2
2 files changed, 3 insertions, 0 deletions
diff --git a/cmd/fpkg/app.go b/cmd/fpkg/app.go
index cf92dad1..e67ef112 100644
--- a/cmd/fpkg/app.go
+++ b/cmd/fpkg/app.go
@@ -73,6 +73,7 @@ func (app *appInfo) toFst(pathSet *appPathSet, argv []string, flagDropShell bool
Username: "fortify",
Inner: path.Join("/data/data", app.ID),
Outer: pathSet.homeDir,
+ Shell: shellPath,
Sandbox: &fst.SandboxConfig{
Hostname: formatHostname(app.Name),
Devel: app.Devel,
diff --git a/cmd/fpkg/with.go b/cmd/fpkg/with.go
index d321de3f..f9ffe848 100644
--- a/cmd/fpkg/with.go
+++ b/cmd/fpkg/with.go
@@ -34,6 +34,7 @@ func withNixDaemon(
Username: "fortify",
Inner: path.Join("/data/data", app.ID),
Outer: pathSet.homeDir,
+ Shell: shellPath,
Sandbox: &fst.SandboxConfig{
Hostname: formatHostname(app.Name) + "-" + action,
Userns: true, // nix sandbox requires userns
@@ -72,6 +73,7 @@ func withCacheDir(
Username: "nixos",
Inner: path.Join("/data/data", app.ID, "cache"),
Outer: pathSet.cacheDir, // this also ensures cacheDir via shim
+ Shell: shellPath,
Sandbox: &fst.SandboxConfig{
Hostname: formatHostname(app.Name) + "-" + action,
Seccomp: seccomp.FlagMultiarch,