diff options
author | ng0 <ng0@infotropique.org> | 2017-08-19 11:34:22 +0000 |
---|---|---|
committer | ng0 <ng0@infotropique.org> | 2017-08-19 11:34:22 +0000 |
commit | 1d8d3f4ec7b48b57d34a7b4261640f81f1370275 (patch) | |
tree | 08716c12e1f07e345f2f7e1a63d25023464f24b8 /contrib/packages/guix/README | |
parent | 3dbe60ded31c9eb2bb53424dc2ed9b1b97446e25 (diff) | |
download | gnunet-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/README | 39 |
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 @@ | |||
1 | package definitions for GNU Guix | ||
2 | --------------------------------- | ||
3 | |||
4 | Usage | ||
5 | ----- | ||
6 | |||
7 | Just point Guix towards the root of this source tree: | ||
8 | |||
9 | export GUIX_PACKAGE_PATH=/path/to/packages | ||
10 | or (if you are in the root of the gnunet git repository): | ||
11 | guix package -L contrib/packages/guix/packages -i package-name | ||
12 | |||
13 | The packages in this repository will take precedence over those in the | ||
14 | official distribution. | ||
15 | |||
16 | To make use of the packages in your GuixSD config file: | ||
17 | |||
18 | Be sure to have GUIX_PACKAGE_PATH for your shell exported, | ||
19 | for bash this could be achieved like this: | ||
20 | |||
21 | export GUIX_PACKAGE_PATH="/full/path/to/gnunet/contrib/packages/guix/directory" | ||
22 | |||
23 | In the section of your systems "config.scm", you should find | ||
24 | something like this: | ||
25 | |||
26 | (use-modules (gnu) (gnu system nss)) | ||
27 | |||
28 | Now to make use of "gnunetg" as an systemwide installed package we change this | ||
29 | to: | ||
30 | |||
31 | (use-modules (gnu) (gnu system nss) | ||
32 | (gnunet packages gnunet)) | ||
33 | |||
34 | and do the usual thing: | ||
35 | - save | ||
36 | - guix system build /etc/config.scm | ||
37 | - sudo -E guix system reconfigure /etc/config.scm | ||
38 | |||
39 | The "-E" in "sudo -E" is important! | ||