gnunet-logread: install only when perl has been found (avoid dysfunctional SHa-bang...
[oweals/gnunet.git] / contrib / guix.README
1 guix.scm contains Guix package definitions that can be used to
2 override the ones found in Guix's GNU distribution.
3
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 To make guix build the development package defined here, use the
14 following command:
15
16   guix build -f <gnunet.git>/contrib/guix
17
18 To spawn a (development) environment with GNUnet's dependencies
19 installed, run:
20
21   guix environment --load-path=<gnunet.git>/contrib/guix.scm
22
23 To spawn a (test) environment with GNUnet available in this
24 environment, run:
25
26   guix environment --load-path=<gnunet.git>/contrib/guix.scm --ad-hoc guix
27
28 It is recommented to also pass the '--pure' option to guix, to make
29 sure the environment is not polluted with existing packages.