janneke pushed a commit to branch wip-bootstrap in repository guix. commit cc60acb3fe76e0cff5a75617b6e88abdcee18b8f Author: Jan Nieuwenhuizen <jann...@gnu.org> Date: Thu Aug 23 21:58:41 2018 +0200
gnu: Add %bootstrap-make. * gnu/packages/bootstrap.scm (%bootstrap-make): New variable. --- gnu/packages/bootstrap.scm | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gnu/packages/bootstrap.scm b/gnu/packages/bootstrap.scm index 70d6f13..54bcd10 100644 --- a/gnu/packages/bootstrap.scm +++ b/gnu/packages/bootstrap.scm @@ -43,6 +43,7 @@ %bootstrap-guile %bootstrap-coreutils&co + %bootstrap-make %bootstrap-binutils %bootstrap-gcc %bootstrap-glibc @@ -395,6 +396,23 @@ $out/bin/guile --version~%" (("^exec grep") (string-append (getcwd) "/bin/grep")))) (chmod "bin" #o555)))) +(define-public %bootstrap-make + (package-from-tarball + "make-bootstrap" + (lambda (system) + (origin + (method url-fetch) + (uri (match system + ((or "i686-linux" + "x86_64-linux") + "http://lilypond.org/janneke/mes/make-static-stripped-4.2.1-i686-linux.tar.xz") + (_ (error "make-bootstrap: system not supported")))) + (sha256 + (base32 + "0gb49ypzrw95cnhk8g5dzy8jql3k7axsgs87zbb5x8yxx7ckskar")))) + "make" ; the program to test + "Bootstrap binary GNU Make")) + (define %bootstrap-binutils (package-from-tarball "binutils-bootstrap" (lambda (system)