diff options
author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-02-27 20:25:54 +0100 |
---|---|---|
committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2019-02-28 12:59:45 +0100 |
commit | 577b5107ff3d2240764374956f2bf0d19d84974a (patch) | |
tree | de16627d5cd7d3e1e92f42303898c560ef713605 /contrib/guix/README | |
parent | 7016c019798fdd467fba67cc131ae564b472eacc (diff) | |
download | gnunet-577b5107ff3d2240764374956f2bf0d19d84974a.tar.gz gnunet-577b5107ff3d2240764374956f2bf0d19d84974a.zip |
contrib/guix: Cleanup guix environment files and README.
- move the docs contained in guix-env.scm to guix/README,
- change these docs to only use "--load-path=<gnunet.git>/contrib/guix"
and GUIX_PACKAGE_PATH,
- delete guix-env.scm and guix.packages.
Diffstat (limited to 'contrib/guix/README')
-rw-r--r-- | contrib/guix/README | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/contrib/guix/README b/contrib/guix/README index 720cee28e..6f862283a 100644 --- a/contrib/guix/README +++ b/contrib/guix/README | |||
@@ -1,4 +1,33 @@ | |||
1 | This directory contains Guix package definitions that can be used to override | 1 | This directory contains Guix package definitions that can be used to |
2 | the ones found in Guix's GNU distribution. | 2 | override the ones found in Guix's GNU distribution. |
3 | 3 | ||
4 | Guix packagers are encouraged to adopt and adjust these definitions. | 4 | Guix packagers are encouraged to adopt and adjust these definitions. |
5 | |||
6 | GNUnet developers can use this for easily setting up a development or | ||
7 | test environment using Guix. | ||
8 | |||
9 | When using the package definition for building a package this will | ||
10 | pick up the current development code. The version of the resulting | ||
11 | package is the output of 'git describe --tags'. | ||
12 | |||
13 | |||
14 | To make guix pick up the package definition contained here you need to | ||
15 | either pass an extra parameter to guix or or set an environment | ||
16 | variable: | ||
17 | |||
18 | guix ... --load-path=<gnunet.git>/contrib/guix ... | ||
19 | export GUIX_PACKAGE_PATH=<gnunet.git>/contrib/guix | ||
20 | |||
21 | To spawn a (development) environment with GNUnet's dependencies | ||
22 | installed, run: | ||
23 | |||
24 | guix environment --load-path=<gnunet.git>/contrib/guix guix | ||
25 | |||
26 | To spawn a (test) environment with GNUnet available in this | ||
27 | environment, run: | ||
28 | |||
29 | guix environment --load-path=<gnunet.git>/contrib/guix --ad-hoc guix | ||
30 | |||
31 | |||
32 | It is recommented to also pass the '--pure' option to guix, to make | ||
33 | sure the environment is not polluted with existing packages. | ||