aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/hpkg/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/hpkg/main.go')
-rw-r--r--cmd/hpkg/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/hpkg/main.go b/cmd/hpkg/main.go
index e3346bff..757dc144 100644
--- a/cmd/hpkg/main.go
+++ b/cmd/hpkg/main.go
@@ -162,7 +162,7 @@ func main() {
withCacheDir(ctx, msg, "install", []string{
// export inner bundle path in the environment
- "export BUNDLE=" + hst.Tmp + "/bundle",
+ "export BUNDLE=" + hst.PrivateTmp + "/bundle",
// replace inner /etc
"mkdir -p etc",
"chmod -R +w etc",
@@ -309,7 +309,7 @@ func main() {
if a.GPU {
config.Container.Filesystem = append(config.Container.Filesystem,
- hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSBind{Source: pathSet.nixPath.Append(".nixGL"), Target: hst.AbsTmp.Append("nixGL")}})
+ hst.FilesystemConfigJSON{FilesystemConfig: &hst.FSBind{Source: pathSet.nixPath.Append(".nixGL"), Target: hst.AbsPrivateTmp.Append("nixGL")}})
appendGPUFilesystem(config)
}