summary refs log tree commit diff
path: root/distro
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2012-10-25 17:41:18 +0200
committerLudovic Courtès <ludo@gnu.org>2012-10-25 17:41:18 +0200
commit60c21332d2092cf16feee5bfc384ca4c94c15a23 (patch)
tree0b7feb21bc1fde2f666f4345297c610a19b19c3b /distro
parent1c702d1e92b8cb73b940394732921a8bd2c8ea0e (diff)
downloadguix-60c21332d2092cf16feee5bfc384ca4c94c15a23.tar.gz
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.
Diffstat (limited to 'distro')
-rw-r--r--distro/packages/base.scm18
1 files changed, 8 insertions, 10 deletions
diff --git a/distro/packages/base.scm b/distro/packages/base.scm
index 871b6c7249..f17dd44d16 100644
--- a/distro/packages/base.scm
+++ b/distro/packages/base.scm
@@ -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)