aboutsummaryrefslogtreecommitdiff
path: root/contrib/guix-env.scm
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2018-08-17 00:01:47 +0200
committerFlorian Dold <florian.dold@gmail.com>2018-08-17 00:01:47 +0200
commit744f39a476ef16b0efd08f2662b0a72c5cd3e149 (patch)
tree3518b367efa0d9ba8e7f957fefe8e9af18a8c895 /contrib/guix-env.scm
parentc2957498716e76e7f57ce2d5dfeb6379fd3323d1 (diff)
downloadgnunet-744f39a476ef16b0efd08f2662b0a72c5cd3e149.tar.gz
gnunet-744f39a476ef16b0efd08f2662b0a72c5cd3e149.zip
move misc CI and build system files to contrib/
We can't have one or more files for every build system out there in the root directory, especially if they are not commented/documented.
Diffstat (limited to 'contrib/guix-env.scm')
-rw-r--r--contrib/guix-env.scm46
1 files changed, 46 insertions, 0 deletions
diff --git a/contrib/guix-env.scm b/contrib/guix-env.scm
new file mode 100644
index 000000000..e4db64547
--- /dev/null
+++ b/contrib/guix-env.scm
@@ -0,0 +1,46 @@
1;;; This file is part of GNUnet.
2;;; Copyright (C) 2016, 2017, 2018 GNUnet e.V.
3;;;
4;;; GNUnet is free software: you can redistribute it and/or modify it
5;;; under the terms of the GNU Affero General Public License as published
6;;; by the Free Software Foundation, either version 3 of the License,
7;;; or (at your option) any later version.
8;;;
9;;; GNUnet is distributed in the hope that it will be useful, but
10;;; WITHOUT ANY WARRANTY; without even the implied warranty of
11;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12;;; Affero General Public License for more details.
13;;;
14;;; You should have received a copy of the GNU Affero General Public License
15;;; along with this program. If not, see <http://www.gnu.org/licenses/>.
16
17
18;;; GNUnet development environment for Guix
19;;
20;; Depending on whether the search path <gnunet.git>/guix is included or not,
21;; the environment has GNUnet from git or uses the GNU distribution's
22;; (most likely older) GNUnet package.
23;;
24;; You can use the development version of GNUnet by passing an extra parameter
25;; or setting an environment variable:
26;;
27;; --load-path=<gnunet.git>/guix
28;; export GUIX_PACKAGE_PATH=<gnunet.git>/guix
29;;
30;; To spawn an environment with GNUnet's dependencies installed, run:
31;;
32;; guix environment -l guix-env.scm
33;;
34;; To also make GNUnet available in this environment, run:
35;;
36;; guix environment -l guix-env.scm --ad-hoc -l guix-env.scm
37;;
38;; It is recommented to also pass the '--pure' option to guix, to make sure the
39;; environment is not polluted with existing packages.
40;;
41;; The version of the resulting package is the output of 'git describe --tags'.
42
43(use-modules
44 (gnu packages gnunet))
45
46gnunet