Files
Katalin Rebhan 08ba10bcc1 dev-lang/swift: set CFFIXED_USER_HOME during toolchain build
Initially, the ebuild had an ‘addpredict /var/lib/portage/home/.swiftpm’
here in order to ignore a sandbox violation. This occurred because the standard
way of getting the user’s home directory in Swift does not prioritize $HOME
over the value in the user database. There is, however, the CFFIXED_USER_HOME
variable which acts as an override. Setting this prevents SwiftPM trying to
write to /var/lib/portage/home during the build so the addpredict isn’t
needed in the first place.

Fixes sandbox failure introduced in
commit 22ea6e3217.

Closes: https://bugs.gentoo.org/985712
Signed-off-by: Katalin Rebhan <kat@knifepoint.net>
2026-11-18 22:32:38 +01:00
..