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.
This commit is contained in:
Ludovic Courtès 2012-10-25 17:41:18 +02:00
parent 1c702d1e92
commit 60c21332d2

View file

@ -1368,16 +1368,6 @@ (define-public glibc
;;; 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 @@ (define %bootstrap-gcc
(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)