diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-11-27 15:04:16 +0200 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2019-11-27 18:00:25 +0000 |
commit | e5e6aecd0edaf03472833c34fbca057d0aabdfd7 (patch) | |
tree | d31772137f4060787c40e261043b1b8d44da5abf /contrib/guix.README | |
parent | f4011df26cf9ab60213c84f6601e95033bc1111f (diff) | |
download | gnunet-e5e6aecd0edaf03472833c34fbca057d0aabdfd7.tar.gz gnunet-e5e6aecd0edaf03472833c34fbca057d0aabdfd7.zip |
contrib: Update guix.scm build helper file
Diffstat (limited to 'contrib/guix.README')
-rw-r--r-- | contrib/guix.README | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/contrib/guix.README b/contrib/guix.README new file mode 100644 index 000000000..d73b0f4aa --- /dev/null +++ b/contrib/guix.README | |||
@@ -0,0 +1,29 @@ | |||
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. | ||