me
/
guix
Archived
1
0
Fork 0

gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224.

* gnu/packages/commencement.scm (gnumach-headers-boot0)[name]: New field; give
proper name.
[source]: Update to 1.8+git20221224, using git-fetch-from-tarball.
[native-inputs]: Add autoconf-boot0, automake-boot0, texinfo-boot0.
[arguments]: Add 'patch-compat' phase to allow building hurd-minimal etc, with
our out-of-date bootstsrap binaries.
Janneke Nieuwenhuizen 2023-05-29 21:25:05 +02:00
parent ed88588931
commit 5315c23702
No known key found for this signature in database
GPG Key ID: F3C1A0D9C1D65273
1 changed files with 29 additions and 12 deletions

View File

@ -2664,18 +2664,35 @@ memoized as a function of '%current-system'."
(with-boot0 (with-boot0
(package (package
(inherit gnumach-headers) (inherit gnumach-headers)
(version "1.8-116-g28b53508") (name "gnumach-headers-boot0")
(source (bootstrap-origin (version "1.8+git20221224")
(origin (source
(method url-fetch) (origin
(uri (list (string-append "mirror://gnu/guix/mirror/gnumach-" (inherit (package-source gnumach-headers))
version ".tar.gz") (method
(string-append "https://lilypond.org/janneke/hurd/" (git-fetch-from-tarball
"gnumach-" version ".tar.gz"))) (origin
(sha256 (method url-fetch)
(base32 (uri (string-append
"006i0zgwy81vxarpfm12vip4q6i5mgmi5mmy5ldvxp5hx9h3l0zg"))))) "https://git.savannah.gnu.org/cgit/hurd/gnumach.git/snapshot/"
(native-inputs '())))) "gnumach-" version ".tar.gz"))
(sha256
(base32
"0vb19ynvrxz302snqxkd0wgizwa5fw2x06a4zjsllqb9ijbq9mc8")))))))
(native-inputs (list autoconf-boot0 automake-boot0 texinfo-boot0))
(arguments
(substitute-keyword-arguments (package-arguments gnumach-headers)
((#:phases phases)
#~(modify-phases #$phases
(add-after 'unpack 'patch-compat
(lambda _
(substitute* '("include/device/device_types.h"
"include/mach_debug/slab_info.h"
"include/mach_debug/vm_info.h")
(("rpc_vm_size_t") "unsigned int")
(("rpc_vm_offset_t") "unsigned int")
(("rpc_long_natural_t") "unsigned long")
(("long_natural_t") "unsigned long")))))))))))
(define mig-boot0 (define mig-boot0
(let* ((mig (package (let* ((mig (package