1 ;;; guix.scm -- Guix package definition
3 ;;; GNU Mes --- Maxwell Equations of Software
4 ;;; Copyright © 2018,2019,2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
6 ;;; This file is part of GNU Mes.
8 ;;; GNU Mes is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Mes is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
23 ;; GNU Guix development package. To build and install, run:
25 ;; guix package -f guix.scm
27 ;; To build it, but not install it, run:
29 ;; guix build -f guix.scm
31 ;; To use as the basis for a development environment, run:
33 ;; guix time-machine --commit=ffb616b69dced25b840f2e5178062072d89623eb -- shell
37 (define %source-dir (dirname (current-filename)))
38 (add-to-load-path (string-append %source-dir "/guix"))
40 (use-modules (git mes))
42 ;; Return it here so `guix build/environment/package' can consume it directly.