mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-11-30 21:28:05 -05:00
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>