mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: mes-boot: Update to 0.25.1.
* gnu/packages/commencement.scm(mes-boot): Update to 0.25.1. [arguments]: Adjust the 'configure phase to allow for other systems. Adjust the 'build phase. [supported-systems]: Add riscv64-linux. Change-Id: I262a8b6855e8c6528969d0c4b69a42cd2f477f2d Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
129b07dbf3
commit
8df35ea55c
1 changed files with 14 additions and 4 deletions
|
@ -57,6 +57,7 @@
|
||||||
#:use-module (gnu packages xml)
|
#:use-module (gnu packages xml)
|
||||||
#:use-module (guix gexp)
|
#:use-module (guix gexp)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
|
#:use-module (guix platform)
|
||||||
#:use-module ((guix store) #:select (%store-monad))
|
#:use-module ((guix store) #:select (%store-monad))
|
||||||
#:use-module (guix monads)
|
#:use-module (guix monads)
|
||||||
#:use-module (guix download)
|
#:use-module (guix download)
|
||||||
|
@ -373,11 +374,12 @@ the way up: hex1, catm, hex2, M0, cc_x86, M1, M2, get_machine (that's all of
|
||||||
MesCC-Tools), and finally M2-Planet.")
|
MesCC-Tools), and finally M2-Planet.")
|
||||||
(license license:gpl3+)))
|
(license license:gpl3+)))
|
||||||
|
|
||||||
|
|
||||||
(define mes-boot
|
(define mes-boot
|
||||||
(package
|
(package
|
||||||
(inherit mes)
|
(inherit mes)
|
||||||
(name "mes-boot")
|
(name "mes-boot")
|
||||||
(version "0.24.2")
|
(version "0.25.1")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (list (string-append "mirror://gnu/mes/"
|
(uri (list (string-append "mirror://gnu/mes/"
|
||||||
|
@ -386,10 +388,10 @@ MesCC-Tools), and finally M2-Planet.")
|
||||||
"mes-" version ".tar.gz")))
|
"mes-" version ".tar.gz")))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0vp8v88zszh1imm3dvdfi3m8cywshdj7xcrsq4cgmss69s2y1nkx"))))
|
"03np6h4qx94givjdvq2rmhvab38y5f91254n0avg4vq2j0cx78in"))))
|
||||||
(inputs '())
|
(inputs '())
|
||||||
(propagated-inputs '())
|
(propagated-inputs '())
|
||||||
(supported-systems '("i686-linux" "x86_64-linux"))
|
(supported-systems '("i686-linux" "x86_64-linux" "riscv64-linux"))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("m2-planet" ,stage0-posix)
|
`(("m2-planet" ,stage0-posix)
|
||||||
("nyacc-source" ,(bootstrap-origin
|
("nyacc-source" ,(bootstrap-origin
|
||||||
|
@ -418,9 +420,17 @@ MesCC-Tools), and finally M2-Planet.")
|
||||||
dir "/nyacc-1.00.2/module"))
|
dir "/nyacc-1.00.2/module"))
|
||||||
(invoke "gash" "configure.sh"
|
(invoke "gash" "configure.sh"
|
||||||
(string-append "--prefix=" out)
|
(string-append "--prefix=" out)
|
||||||
"--host=i686-linux-gnu"))))
|
(string-append "--host="
|
||||||
|
#$(cond
|
||||||
|
((target-x86-64?) "i686-linux-gnu")
|
||||||
|
(#t (platform-system->target
|
||||||
|
(%current-system)))))))))
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(lambda _
|
(lambda _
|
||||||
|
;; TODO: GUILE_LOAD_PATH is leaking. We need to clean it.
|
||||||
|
(substitute* "kaem.run"
|
||||||
|
(("cp bin/mes-m2 bin/mes" all)
|
||||||
|
(string-append "GUILE_LOAD_PATH=/fubar\n" all)))
|
||||||
(invoke "gash" "bootstrap.sh")))
|
(invoke "gash" "bootstrap.sh")))
|
||||||
(delete 'check)
|
(delete 'check)
|
||||||
(replace 'install
|
(replace 'install
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue