796dc2dc39
* HACKING (SETUP): Use `guix shell' instead of `guix environment'. * INSTALL (Guix): Likewise. * PORTING (Setup environment): Likewise. * doc/mes.texi (Building from Git): Likewise. * simple.sh: Likewise. * guix.scm: Likewise. Add time-machine with working commit.
44 lines
1.4 KiB
Scheme
44 lines
1.4 KiB
Scheme
;;; guix.scm -- Guix package definition
|
|
|
|
;;; GNU Mes --- Maxwell Equations of Software
|
|
;;; Copyright © 2018,2019,2022 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
|
;;;
|
|
;;; This file is part of GNU Mes.
|
|
;;;
|
|
;;; GNU Mes is free software; you can redistribute it and/or modify it
|
|
;;; under the terms of the GNU General Public License as published by
|
|
;;; the Free Software Foundation; either version 3 of the License, or (at
|
|
;;; your option) any later version.
|
|
;;;
|
|
;;; GNU Mes is distributed in the hope that it will be useful, but
|
|
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
;;; GNU General Public License for more details.
|
|
;;;
|
|
;;; You should have received a copy of the GNU General Public License
|
|
;;; along with GNU Mes. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
;;; Commentary:
|
|
;;
|
|
;; GNU Guix development package. To build and install, run:
|
|
;;
|
|
;; guix package -f guix.scm
|
|
;;
|
|
;; To build it, but not install it, run:
|
|
;;
|
|
;; guix build -f guix.scm
|
|
;;
|
|
;; To use as the basis for a development environment, run:
|
|
;;
|
|
;; guix time-machine --commit=ffb616b69dced25b840f2e5178062072d89623eb -- shell
|
|
;;
|
|
;;; Code:
|
|
|
|
(define %source-dir (dirname (current-filename)))
|
|
(add-to-load-path (string-append %source-dir "/guix"))
|
|
|
|
(use-modules (git mes))
|
|
|
|
;; Return it here so `guix build/environment/package' can consume it directly.
|
|
mes.git
|