janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 611cefc2c191f025edd2378cb0045c50a7fa2db7
Author: Jan Nieuwenhuizen <[email protected]>
Date: Sat Aug 25 09:35:47 2018 +0200
gnu: Add %bootstrap-diffutils.
* gnu/packages/bootstrap.scm (%bootstrap-diffutils): 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 54bcd10..cdca9cd 100644
--- a/gnu/packages/bootstrap.scm
+++ b/gnu/packages/bootstrap.scm
@@ -43,6 +43,7 @@
%bootstrap-guile
%bootstrap-coreutils&co
+ %bootstrap-diffutils
%bootstrap-make
%bootstrap-binutils
%bootstrap-gcc
@@ -396,6 +397,23 @@ $out/bin/guile --version~%"
(("^exec grep") (string-append (getcwd)
"/bin/grep"))))
(chmod "bin" #o555))))
+(define-public %bootstrap-diffutils
+ (package-from-tarball
+ "diffutils-bootstrap"
+ (lambda (system)
+ (origin
+ (method url-fetch)
+ (uri (match system
+ ((or "i686-linux"
+ "x86_64-linux")
+
"http://lilypond.org/janneke/mes/diffutils-static-stripped-3.6-i686-linux.tar.xz")
+ (_ (error "diffutils-bootstrap: system not supported"))))
+ (sha256
+ (base32
+ "1qvackm4i42nba0wixpby17igcm64l98pbz05qsdrsy988s86ifh"))))
+ "diff" ; the program to test
+ "Bootstrap binaries of the GNU Diffutils"))
+
(define-public %bootstrap-make
(package-from-tarball
"make-bootstrap"