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
This commit is contained in:
Efraim Flashner 2024-10-21 16:50:50 +03:00
parent 7501c4dbdc
commit 3b90423640
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2844,9 +2844,12 @@ (define byacc-boot0
(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)))