gnu: Add m4-boot.

* gnu/packages/commencement.scm (m4-boot): New variable.

Co-authored-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ic04b8b9ba7e273fe0607428b91d50e548f800aa1
This commit is contained in:
Ekaitz Zarraga 2024-10-07 18:45:59 +03:00 committed by Efraim Flashner
parent e419d704a5
commit c1dde84ca8
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1570,6 +1570,34 @@ (define (%boot-mesboot1-inputs)
,@(fold alist-delete (%boot-mesboot0-inputs)
'("binutils" "make"))))
(define m4-boot
(package
(inherit m4)
(name "m4-boot")
(version "1.4.18")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnu/m4/m4-" version ".tar.gz"))
(sha256
(base32 "1arz972zxmwhnyik9007g6ww9gars8d55xbvg548xlsw3a9369mb"))))
(native-inputs (if (target-x86?)
(%boot-mesboot1-inputs)
(%boot-tcc-musl-inputs)))
(inputs '())
(propagated-inputs '())
(arguments
(list
#:tests? #f
#:guile %bootstrap-guile
#:implicit-inputs? #f
#:parallel-build? (target-x86?)
#:configure-flags
#~(list #$@(if (target-x86?)
#~()
#~("CC=tcc"))
(string-append "--build=" #$(commencement-build-target))
(string-append "--host=" #$(commencement-build-target)))))))
(define gmp-boot
(let ((version "4.3.2"))
(origin