summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-08 21:49:40 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-08 22:05:14 +0000
commitddd177639dfede578d97a4dba8d3526ac6cfcb02 (patch)
tree44086ff59caa7fa885b88143ae1247b92fd85b6d /sys-apps/guix
parentpackage.mask: Removed grep-2.28 mask. (diff)
downloadgentoo-ddd177639dfede578d97a4dba8d3526ac6cfcb02.tar.gz
gentoo-ddd177639dfede578d97a4dba8d3526ac6cfcb02.tar.bz2
gentoo-ddd177639dfede578d97a4dba8d3526ac6cfcb02.zip
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
Diffstat (limited to 'sys-apps/guix')
-rw-r--r--sys-apps/guix/guix-0.12.0-r2.ebuild (renamed from sys-apps/guix/guix-0.12.0-r1.ebuild)7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-apps/guix/guix-0.12.0-r1.ebuild b/sys-apps/guix/guix-0.12.0-r2.ebuild
index 1cdbf8f1567f..5acef2960892 100644
--- a/sys-apps/guix/guix-0.12.0-r1.ebuild
+++ b/sys-apps/guix/guix-0.12.0-r2.ebuild
@@ -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