guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/04: REMOVEME gnu: commencement: diffutils-boot0: Undo effect of diffu


From: guix-commits
Subject: 04/04: REMOVEME gnu: commencement: diffutils-boot0: Undo effect of diffutils patch.
Date: Mon, 25 Nov 2024 11:33:17 -0500 (EST)

janneke pushed a commit to branch hurd-team
in repository guix.

commit 3b67942f473bb1ce2257bd89b99259f19561fd4a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 25 17:13:56 2024 +0100

    REMOVEME gnu: commencement: diffutils-boot0: Undo effect of diffutils patch.
    
    XXX Avoid a world rebuild at this time.
    
    For any and all *-boot0 packages that have #:tests? #f we should re-consider
    inheriting (their phases) from base.scm.
    
    * gnu/packages/commencement.scm (diffutils-boot0)[arguments]: When building
    for the 64bit Hurd, restore `skip-tests' to previous value.
    
    Change-Id: I383be67bb537c73e2eaae2b396488e444e0e2260
---
 gnu/packages/commencement.scm | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 4368893f4d..864c326122 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2021,7 +2021,17 @@ exec " gcc "/bin/" program
                ;; bootstrap environment.  Disable dependency tracking to work
                ;; around it.
                `(cons "--disable-dependency-tracking" ,flags))
-              (_ flags))))))))
+              (_ flags)))
+           ;; XXX REMOVEME, avoiding world rebuild at this time
+           ((#:phases phases '%standard-phases)
+            (if (system-hurd64?)
+                `(modify-phases %standard-phases
+                   (add-after 'unpack 'skip-tests
+                     (lambda _
+                       (substitute* "tests/large-subopt"
+                         (("^#!.*" all)
+                          (string-append all "exit 77;\n"))))))
+                phases)))))))
 
 (define findutils-boot0
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]