summary refs log tree commit diff
path: root/gnu/packages/commencement.scm
diff options
context:
space:
mode:
authorJan Nieuwenhuizen <janneke@gnu.org>2019-11-22 22:36:22 +0100
committerJan Nieuwenhuizen <janneke@gnu.org>2020-02-17 23:16:45 +0100
commit15af8e1d9d5a1b3db7cdab84dae791b357f229b6 (patch)
treeb3c7f130d70fbd37e1fa16f987babb77f48b44dc /gnu/packages/commencement.scm
parentd7e8467f97c411696dd46e4f332f80cac422db4d (diff)
downloadguix-15af8e1d9d5a1b3db7cdab84dae791b357f229b6.tar.gz
gnu: commencement: Add coreutils-mesboot.
* gnu/packages/commencement.scm (coreutils-mesboot): New variable.
(%boot-mesboot6-inputs): New variable.
Diffstat (limited to 'gnu/packages/commencement.scm')
-rw-r--r--gnu/packages/commencement.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index bbba99b307..6aed8e595b 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2616,6 +2616,25 @@ exec " gcc "/bin/" program
     ("gcc" ,gcc-mesboot)
     ,@(fold alist-delete (%boot-mesboot4-inputs) '("gcc" "gcc-wrapper"))))
 
+(define-public coreutils-mesboot
+  (package
+    (inherit coreutils)
+    (name "coreutils-mesboot")
+    (source (bootstrap-origin (package-source coreutils)))
+    (native-inputs (%boot-mesboot5-inputs))
+    (supported-systems '("i686-linux" "x86_64-linux"))
+    (inputs '())
+    (propagated-inputs '())
+    (arguments
+     `(#:implicit-inputs? #f
+       #:guile ,%bootstrap-guile
+       #:tests? #f))))
+
+(define (%boot-mesboot6-inputs)
+  `(("coreutils" ,coreutils-mesboot)
+    ,@(fold alist-delete (%boot-mesboot5-inputs)
+            '("coreutils" "kernel-headers"))))
+
 (define m4-mesboot
   (package
     (inherit m4)