guix-commits
[Top][All Lists]
Advanced

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

57/60: gnu: gawk-boot0: Remove pre-generated source file.


From: guix-commits
Subject: 57/60: gnu: gawk-boot0: Remove pre-generated source file.
Date: Sun, 24 Nov 2024 02:50:18 -0500 (EST)

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

commit 92562ac98f1d57aa1e11b3d4d8c4126535becc8d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Oct 21 16:50:50 2024 +0300

    gnu: gawk-boot0: Remove pre-generated source file.
    
    * gnu/packages/commencement.scm (gawk-boot0)[source]: Add snippet to
    remove a pre-generated source file.
    [native-inputs]: Add byacc-boot0.
    
    Change-Id: Ieb3e859c1893b87e5767227e24541e45cf55afce
---
 gnu/packages/commencement.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 57c09b1b65..ff3a218680 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2844,9 +2844,12 @@ exec " gcc "/bin/" program
 (define gawk-boot0
   (package
     (inherit gawk)
-    (source (bootstrap-origin (package-source gawk)))
+    (source (bootstrap-origin
+             (origin (inherit (package-source gawk))
+                     (snippet
+                      #~(begin (delete-file "awkgram.c"))))))
     (name "gawk-boot0")
-    (native-inputs '())
+    (native-inputs (list byacc-boot0))
     (inputs
      `(("make" ,gnu-make-boot0)
        ,@(%bootstrap-inputs+toolchain)))



reply via email to

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