diff options
| author | Ophestra <cat@gensokyo.uk> | 2025-10-11 14:29:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2025-10-11 14:32:35 +0900 |
| commit | f5a597c4061b18b53e3124107c0e1434a98aedc9 (patch) | |
| tree | d339acafed909f5ec30bc6344d7c76322a0b9bd1 /cmd/hpkg/main.go | |
| parent | 8874aaf81b6d8028bd4dc3d4a1f09bf16b349085 (diff) | |
hst: rename /.hakurei constant
This provides disambiguation from fhs.AbsTmp.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/hpkg/main.go')
| -rw-r--r-- | cmd/hpkg/main.go | 4 |
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) } |
