aboutsummaryrefslogtreecommitdiffstats
path: root/guix
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2014-11-22 14:22:53 +0800
committerTing-Wei Lan <lantw44@gmail.com>2014-11-22 15:11:54 +0800
commitc2af23106f2b5fc70274985b872b79b10054d5e3 (patch)
treed4a5aa4291ec95c596441ca319b7ed4efd722da6 /guix
parentb0a2890abfe2c5df989af5c061dd3c7233f5d10e (diff)
downloadcopr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.tar
copr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.tar.gz
copr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.tar.bz2
copr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.tar.lz
copr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.tar.xz
copr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.tar.zst
copr-rpm-spec-c2af23106f2b5fc70274985b872b79b10054d5e3.zip
guix: Do not install an empty /var/guix
Diffstat (limited to 'guix')
-rw-r--r--guix/INSTALL.md5
-rw-r--r--guix/guix/guix.spec8
2 files changed, 10 insertions, 3 deletions
diff --git a/guix/INSTALL.md b/guix/INSTALL.md
index 87bf1e1..2ec1417 100644
--- a/guix/INSTALL.md
+++ b/guix/INSTALL.md
@@ -6,3 +6,8 @@ If you want more users for building packages, add more users to the
Start the `guix-daemon` by using systemd or manually running command
`guix-daemon --build-users-group=guix-builder` as root. `guix-daemon`
will create most necessary files and directories when you first using it.
+
+If you want to use prebuilt packages provided by
+[GNU Hydra](http://hydra.gnu.org), you should run
+`guix archive --authorize --import < /usr/share/guix/hydra.gnu.org.pub`
+as root before using `guix package`.
diff --git a/guix/guix/guix.spec b/guix/guix/guix.spec
index 8f84b76..8d7f265 100644
--- a/guix/guix/guix.spec
+++ b/guix/guix/guix.spec
@@ -1,6 +1,6 @@
Name: guix
Version: 0.8
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: a purely functional package manager for the GNU system
Group: System Environment/Base
@@ -69,7 +69,6 @@ make %{?_smp_mflags}
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}/gnu/store
mkdir -p %{buildroot}%{_localstatedir}/log/guix
-mkdir -p %{buildroot}%{_localstatedir}/guix
mkdir -p %{buildroot}%{_unitdir}
install -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/guix.service
%{_emacs_bytecompile} %{buildroot}%{_emacs_sitelispdir}/guix*.el
@@ -158,7 +157,6 @@ fi
%{_datadir}/guile/site/2.0/guix/build-system/*.go
%dir /gnu/store
%dir %{_localstatedir}/log/guix
-%dir %{_localstatedir}/guix
%{_infodir}/%{name}.info*
%{_infodir}/images/bootstrap-graph.png.gz
%exclude %{_infodir}/dir
@@ -171,6 +169,10 @@ fi
%{_emacs_sitelispdir}/guix*.el
%changelog
+* Sat Nov 22 2014 Ting-Wei Lan <lantw44@gmail.com> - 0.8-2
+- Do not create /var/guix, which prevents guix-daemon from populating /var/guix
+ and /gnu/store on the first start.
+
* Wed Nov 19 2014 Ting-Wei Lan <lantw44@gmail.com> - 0.8-1
- Update to 0.8