~ruther/guix-local

60c21332d2092cf16feee5bfc384ca4c94c15a23 — Ludovic Courtès 13 years ago 1c702d1
distro: Bootstrap using our own binaries instead of those from Nixpkgs.

* distro/packages/base.scm (%bootstrap-inputs): Switch to using our own
  bootstrap binaries instead of those from Nixpkgs.
1 files changed, 8 insertions(+), 10 deletions(-)

M distro/packages/base.scm
M distro/packages/base.scm => distro/packages/base.scm +8 -10
@@ 1368,16 1368,6 @@ with the Linux kernel.")
;;; Bootstrap packages.
;;;

(define %bootstrap-inputs
  (compile-time-value
   `(("libc" ,(nixpkgs-derivation "glibc"))
     ,@(map (lambda (name)
              (list name (nixpkgs-derivation name)))
            '("gnutar" "gzip" "bzip2" "xz" "patch"
              "coreutils" "gnused" "gnugrep" "bash"
              "gawk"                                ; used by `config.status'
              "gcc" "binutils")))))

(define %bootstrap-guile
  ;; The Guile used to run the build scripts of the initial derivations.
  ;; It is just unpacked from a tarball containing a pre-built binary.


@@ 1629,6 1619,14 @@ exec ~a/bin/.gcc-wrapped -B~a/lib \
    (long-description #f)
    (home-page #f)))

(define %bootstrap-inputs
  ;; The initial, pre-built inputs.  From now on, we can start building our
  ;; own packages.
  `(("libc" ,%bootstrap-glibc)
    ("gcc" ,%bootstrap-gcc)
    ("binutils" ,%bootstrap-binutils)
    ("coreutils&co" ,%bootstrap-coreutils&co)))

(define package-with-bootstrap-guile
  (memoize
   (lambda (p)