guix_mirror_bot pushed a commit to branch wip-riscv-bootstrap
in repository guix.

commit f9d283f351918297e3f61ba9affd2603179562b3
Author: Efraim Flashner <efr...@flashner.co.il>
AuthorDate: Mon Oct 21 15:59:02 2024 +0300

    gnu: %boot0-inputs: Remove duplicate packages.
    
    * gnu/packages/commencement.scm (%boot0-inputs): When building for i686,
    x86-64 or riscv64 remove the old *-mesboot packages for newer *-boot0
    packages.
    
    Change-Id: Ide54f9185dd67765f4a35110c6bb47d5f61ba6b5
---
 gnu/packages/commencement.scm | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 1ab45b028f..5a05326e61 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2936,13 +2936,19 @@ exec " gcc "/bin/" program
            ("gawk" ,gawk-boot0)
            ("patch" ,patch-boot0)
            ("sed" ,sed-boot0)
-           ("tar" ,tar-boot0)))
-        (_ '()))
-    ("make" ,gnu-make-boot0)
-    ("diffutils" ,diffutils-boot0)
-    ("findutils" ,findutils-boot0)
-    ("file" ,file-boot0)
-    ,@(%bootstrap-inputs+toolchain)))
+           ("tar" ,tar-boot0)
+           ("make" ,gnu-make-boot0)
+           ("diffutils" ,diffutils-boot0)
+           ("findutils" ,findutils-boot0)
+           ("file" ,file-boot0)
+           ,@(fold alist-delete (%bootstrap-inputs+toolchain)
+                   '("coreutils" "gawk" "patch" "sed" "tar" "make"))))
+        (_
+          `(("make" ,gnu-make-boot0)
+            ("diffutils" ,diffutils-boot0)
+            ("findutils" ,findutils-boot0)
+            ("file" ,file-boot0)
+            ,@(%bootstrap-inputs+toolchain))))))
 
 (define* (boot-triplet #:optional (system (%current-system)))
   ;; Return the triplet used to create the cross toolchain needed in the

Reply via email to