~ruther/guix-local

9d0b8fbd78552e44dcd0a7ee9933ea1e3709b07a — Ludovic Courtès 11 years ago b777d78
pull: Copy and compile gnu.scm.

* guix/build/pull.scm (build-guix): Copy gnu.scm to OUT.
1 files changed, 3 insertions(+), 2 deletions(-)

M guix/build/pull.scm
M guix/build/pull.scm => guix/build/pull.scm +3 -2
@@ 1,5 1,5 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2013, 2014 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;


@@ 94,10 94,11 @@ exit with non-zero."

  (format #t "copying and compiling Guix to `~a'...~%" out)

  ;; Copy everything under guix/ and gnu/ plus guix.scm.
  ;; Copy everything under guix/ and gnu/ plus {guix,gnu}.scm.
  (copy-recursively "guix" (string-append out "/guix"))
  (copy-recursively "gnu" (string-append out "/gnu"))
  (copy-file "guix.scm" (string-append out "/guix.scm"))
  (copy-file "gnu.scm" (string-append out "/gnu.scm"))

  ;; Add a fake (guix config) module to allow the other modules to be
  ;; compiled.  The user's (guix config) is the one that will be used.