[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
169/210: bootstrap: Evaluate %bootstrap-inputs+toolchain at build time.
From: |
Jan Nieuwenhuizen |
Subject: |
169/210: bootstrap: Evaluate %bootstrap-inputs+toolchain at build time. |
Date: |
Sat, 8 Sep 2018 10:36:27 -0400 (EDT) |
janneke pushed a commit to branch wip-bootstrap
in repository guix.
commit 8fd0e35b504de7cf6d474cfc7c67f4d4fc0d6ab4
Author: Jan Nieuwenhuizen <address@hidden>
Date: Fri Aug 31 15:29:50 2018 +0200
bootstrap: Evaluate %bootstrap-inputs+toolchain at build time.
Turn '%bootstrap-inputs+toolchain' into a thunk so that (%current-system)
is evaluated at the right time.
---
gnu/packages/commencement.scm | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 3642c00..2cf86ba 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -1686,7 +1686,7 @@ exec " gcc "/bin/" program
(system* "./configure"
(string-append "--prefix=" out))))))))))))
-(define %bootstrap-inputs+toolchain
+(define (%bootstrap-inputs+toolchain)
(append (match (%current-system)
("i686-linux" `(;;("libc" ,glibc-mesboot) ; FIXME: make usable for
unpatched gnu-make-boot0, *-boot0
("libc" ,%bootstrap-glibc)
@@ -1719,13 +1719,13 @@ exec " gcc "/bin/" program
(install-file "make" bin)
#t))))))))
(native-inputs '()) ; no need for 'pkg-config'
- (inputs %bootstrap-inputs+toolchain))))
+ (inputs (%bootstrap-inputs+toolchain)))))
(define diffutils-boot0
(package-with-bootstrap-guile
(let ((p (package-with-explicit-inputs diffutils
`(("make" ,gnu-make-boot0)
- ,@%bootstrap-inputs+toolchain)
+ ,@(%bootstrap-inputs+toolchain))
#:guile %bootstrap-guile)))
(package (inherit p)
(name "diffutils-boot0")
@@ -1739,7 +1739,7 @@ exec " gcc "/bin/" program
(name "findutils-boot0"))
`(("make" ,gnu-make-boot0)
("diffutils" ,diffutils-boot0) ; for tests
- ,@%bootstrap-inputs+toolchain)
+ ,@(%bootstrap-inputs+toolchain))
(current-source-location)
#:guile %bootstrap-guile)))
@@ -1747,7 +1747,7 @@ exec " gcc "/bin/" program
(package-with-bootstrap-guile
(let ((p (package-with-explicit-inputs file
`(("make" ,gnu-make-boot0)
- ,@%bootstrap-inputs+toolchain)
+ ,@(%bootstrap-inputs+toolchain))
#:guile %bootstrap-guile)))
(package
(inherit p)
@@ -1779,7 +1779,7 @@ exec " gcc "/bin/" program
("diffutils" ,diffutils-boot0)
("findutils" ,findutils-boot0)
("file" ,file-boot0)
- ,@%bootstrap-inputs+toolchain))
+ ,@(%bootstrap-inputs+toolchain)))
(define* (boot-triplet #:optional (system (%current-system)))
;; Return the triplet used to create the cross toolchain needed in the
- 200/210: gnu: findutils-boot0: Remove bootstrap leaks., (continued)
- 200/210: gnu: findutils-boot0: Remove bootstrap leaks., Jan Nieuwenhuizen, 2018/09/08
- 191/210: gnu: glibc-headers-mesboot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 195/210: glibc-mesboot: do not validate runpath, Jan Nieuwenhuizen, 2018/09/08
- 184/210: gnu: mesboot-headers: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 197/210: Oops, libstdc++ build fixes WIP, Jan Nieuwenhuizen, 2018/09/08
- 175/210: gnu: glibc-mesboot: Remove %bootstrap-glibc., Jan Nieuwenhuizen, 2018/09/08
- 170/210: gnu: make-mesboot: Update to 3.82., Jan Nieuwenhuizen, 2018/09/08
- 178/210: gnu: tcc-boot0: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 179/210: gnu: tcc-boot: Cleanup., Jan Nieuwenhuizen, 2018/09/08
- 173/210: gnu: Add mesboot-headers., Jan Nieuwenhuizen, 2018/09/08
- 169/210: bootstrap: Evaluate %bootstrap-inputs+toolchain at build time.,
Jan Nieuwenhuizen <=
- 166/210: gnu: file-boot0: Do not strip binaries or validate-runpath., Jan Nieuwenhuizen, 2018/09/08
- 198/210: gnu: Add gcc-mesboot-4.9.4., Jan Nieuwenhuizen, 2018/09/08
- 145/210: bootstrap: Integrate mes bootstrap for i686-linux., Jan Nieuwenhuizen, 2018/09/08
- 66/210: gnu: binutils-boot: Update to 2.30., Jan Nieuwenhuizen, 2018/09/08
- 160/210: gnu: Add mpc-boot 1.0.3., Jan Nieuwenhuizen, 2018/09/08
- 155/210: Revert "gnu: Add %diffutils-static, %diffutils-static-stripped, %diffutils-bootstrap-tarball.", Jan Nieuwenhuizen, 2018/09/08
- 156/210: Revert "gnu: Add %bootstrap-make.", Jan Nieuwenhuizen, 2018/09/08
- 150/210: gnu: Add make-mesboot 3.79., Jan Nieuwenhuizen, 2018/09/08
- 193/210: gnu: glibc-mesboot: Oops, install everything., Jan Nieuwenhuizen, 2018/09/08
- 171/210: %bootstrap-linux-libre-headers: Update, Jan Nieuwenhuizen, 2018/09/08