aboutsummaryrefslogtreecommitdiff
path: root/contrib/packages/guix/README
diff options
context:
space:
mode:
authorng0 <ng0@infotropique.org>2017-08-19 11:34:22 +0000
committerng0 <ng0@infotropique.org>2017-08-19 11:34:22 +0000
commit1d8d3f4ec7b48b57d34a7b4261640f81f1370275 (patch)
tree08716c12e1f07e345f2f7e1a63d25023464f24b8 /contrib/packages/guix/README
parent3dbe60ded31c9eb2bb53424dc2ed9b1b97446e25 (diff)
downloadgnunet-1d8d3f4ec7b48b57d34a7b4261640f81f1370275.tar.gz
gnunet-1d8d3f4ec7b48b57d34a7b4261640f81f1370275.zip
contrib: import of external guix packages repository.
Signed-off-by: ng0 <ng0@infotropique.org>
Diffstat (limited to 'contrib/packages/guix/README')
-rw-r--r--contrib/packages/guix/README39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/packages/guix/README b/contrib/packages/guix/README
new file mode 100644
index 000000000..0b66e500a
--- /dev/null
+++ b/contrib/packages/guix/README
@@ -0,0 +1,39 @@
1package definitions for GNU Guix
2---------------------------------
3
4Usage
5-----
6
7Just point Guix towards the root of this source tree:
8
9export GUIX_PACKAGE_PATH=/path/to/packages
10or (if you are in the root of the gnunet git repository):
11guix package -L contrib/packages/guix/packages -i package-name
12
13The packages in this repository will take precedence over those in the
14official distribution.
15
16To make use of the packages in your GuixSD config file:
17
18Be sure to have GUIX_PACKAGE_PATH for your shell exported,
19for bash this could be achieved like this:
20
21export GUIX_PACKAGE_PATH="/full/path/to/gnunet/contrib/packages/guix/directory"
22
23In the section of your systems "config.scm", you should find
24something like this:
25
26(use-modules (gnu) (gnu system nss))
27
28Now to make use of "gnunetg" as an systemwide installed package we change this
29to:
30
31(use-modules (gnu) (gnu system nss)
32 (gnunet packages gnunet))
33
34and do the usual thing:
35 - save
36 - guix system build /etc/config.scm
37 - sudo -E guix system reconfigure /etc/config.scm
38
39The "-E" in "sudo -E" is important!