sys-apps/guix: fix 'localstatedir' to poin to /var/guix

The path is used by /gnu/store binaries and is expected
location for ebuild itself.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
Sergei Trofimovich
2017-02-08 21:49:40 +00:00
parent 7ed559030a
commit ddd177639d

View File

@@ -97,6 +97,12 @@ pkg_setup() {
done
}
src_configure() {
# to be compatible with guix from /gnu/store
econf \
--localstatedir="${EPREFIX}"/var
}
src_prepare() {
copy_boot_guile_binaries
@@ -116,6 +122,7 @@ src_install() {
readme.gentoo_create_doc
keepdir /etc/guix
# TODO: will need a tweak for prefix
keepdir /gnu/store
fowners root:guixbuild /gnu/store