summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-22 21:55:45 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:16:44 +0100
commit079b2cf3a2d9a4ec17fe5515f2c6fe17c3c17fec (patch)
treec240d9466a2db4d92b11b1dcc825ca439fd1986a /gnu/packages
parent9c4a021211244c0c2c927908495cabcb9d0db192 (diff)
downloadguix-079b2cf3a2d9a4ec17fe5515f2c6fe17c3c17fec.tar.gz
gnu: commencement: Add hello-mesboot.
* gnu/packages/commencement.scm (hello-mesboot): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/commencement.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 371866b0fa..eb486fddbb 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2224,6 +2224,28 @@ ac_cv_c_float_format='IEEE (little-endian)'
          "ac_cv_have_decl_optreset=no"
          "CPPFLAGS=-D__GNUC__=1")))))
 
+(define hello-mesboot
+  ;; Check for Scheme-only bootstrap.
+  (package
+    (inherit hello)
+    (name "hello-mesboot")
+    (supported-systems '("i686-linux" "x86_64-linux"))
+    (inputs '())
+    (propagated-inputs '())
+    (native-inputs (%boot-mesboot2-inputs))
+    (arguments
+     `(#:implicit-inputs? #f
+       #:guile ,%bootstrap-guile
+       #:parallel-build? #f
+       ;; checking for grep that handles long lines and -e...
+       ;; configure: error: no acceptable grep could be found
+       #:configure-flags '("ac_cv_path_GREP=grep")
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda _
+             (invoke "./hello"))))))))
+
 (define binutils-mesboot
   (package
     (inherit binutils-mesboot0)