[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#64708] [PATCH 5/8] gnu: commencement: mig-boot0: Update to 1.8+git2
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#64708] [PATCH 5/8] gnu: commencement: mig-boot0: Update to 1.8+git20230520. |
Date: |
Tue, 18 Jul 2023 15:15:01 +0200 |
* gnu/packages/commencement.scm (mig-boot0): Remove redundant
outer let.
[name]: New field, give proper name.
[version]: New field
[source]: Update to 1.8+git20230520, using git-fetch-from-tarball.
[native-inputs]: Add autoconf-boot0, automake-boot0.
[inputs]: Add gnumach-headers-boot0.
---
gnu/packages/commencement.scm | 42 ++++++++++++++++++++++++++---------
1 file changed, 31 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index b15a71feb3..05a6badea0 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2696,17 +2696,37 @@ (define gnumach-headers-boot0
(("long_natural_t") "unsigned long")))))))))))
(define mig-boot0
- (let* ((mig (package
- (inherit (package-with-bootstrap-guile mig))
- (native-inputs `(("bison" ,bison-boot0)
- ("flex" ,flex-boot0)))
- (inputs `(("flex" ,flex-boot0)))
- (arguments
- ;; TODO: On next rebuild cycle, reuse phases from 'mig'.
- `(#:configure-flags
- `(,(string-append "LDFLAGS=-Wl,-rpath="
- (assoc-ref %build-inputs "flex")
"/lib/")))))))
- (with-boot0 mig)))
+ (with-boot0
+ (package
+ (inherit mig)
+ (name "mig-boot0")
+ (version "1.8+git20230520")
+ (source
+ (origin
+ (method
+ (git-fetch-from-tarball
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://git.savannah.gnu.org/cgit/hurd/mig.git/snapshot/"
+ "mig-" version ".tar.gz"))
+ (sha256
+ (base32
"1l1vfm4wap5yxylv91wssgpy7fnq22wp3akgd5nv995kychfa9jy")))))
+ (uri (git-reference
+ (url "https://git.savannah.gnu.org/git/hurd/mig.git")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "10r0fdjqjzqsy6ajb21rifvhw0wpjvrw6a1zdyliqlzqny5k0qlz"))))
+ (native-inputs (list autoconf-boot0 automake-boot0 bison-boot0 flex-boot0
+ gnumach-headers-boot0))
+ (inputs (list flex-boot0 gnumach-headers-boot0))
+ (arguments
+ (list
+ #:configure-flags
+ #~(list (string-append "LDFLAGS=-Wl,-rpath="
+ #$(this-package-native-input "flex")
+ "/lib/")))))))
(define hurd-version-boot0 "0.9-229-ga1efcee8")
(define hurd-source-boot0
--
2.40.1
- [bug#64708] [PATCH 0/8] Fix cross build and native build for the Hurd., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64708] [PATCH 2/8] gnu: commencement: Add automake-boot0., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64708] [PATCH 1/8] gnu: commencement: Add autoconf-boot0., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64708] [PATCH 6/8] gnu: commencement: hurd-headers-boot0: Update to 0.9.git20230216., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64708] [PATCH 7/8] gnu: commencement: hurd-minimal-boot0: Update to 0.9.git20230216., Janneke Nieuwenhuizen, 2023/07/18
- [bug#64708] [PATCH 5/8] gnu: commencement: mig-boot0: Update to 1.8+git20230520.,
Janneke Nieuwenhuizen <=
- [bug#64708] [PATCH 4/8] gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20221224., Janneke Nieuwenhuizen, 2023/07/18
[bug#64708] [PATCH 3/8] gnu: commencement: Add git-fetch-from-tarball utility., Janneke Nieuwenhuizen, 2023/07/18
[bug#64708] [PATCH 8/8] gnu: mig: Update to 1.8+git20230520., Janneke Nieuwenhuizen, 2023/07/18