[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
66/85: gnu: musl-boot0: Fix installation order of headers.
From: |
guix-commits |
Subject: |
66/85: gnu: musl-boot0: Fix installation order of headers. |
Date: |
Tue, 17 Dec 2024 04:08:13 -0500 (EST) |
efraim pushed a commit to branch wip-riscv-bootstrap
in repository guix.
commit 6e723e3f709122e938daaaa75b106a9df3d1ee71
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Nov 24 17:00:06 2024 +0200
gnu: musl-boot0: Fix installation order of headers.
* gnu/packages/commencement.scm (musl-boot0)[arguments]: Reverse the
order of the headers to be installed.
Change-Id: Icfbf2e1e7e737192899d4074a9183b6267fad5f9
---
gnu/packages/commencement.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 66e31febec..0eb5cc9cc5 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -985,9 +985,12 @@ MesCC-Tools), and finally M2-Planet.")
(for-each (lambda (file)
(install-file file (string-append incl "/bits")))
(append
- (find-files (string-append "arch/" arch "/bits"))
+ ;; Instead of checking if the header already
exists
+ ;; install them in a 'backwards' order, so the
+ ;; preferred one never ends up overridden.
+ (find-files "obj/include/bits")
(find-files "arch/generic/bits")
- (find-files "obj/include/bits")))
+ (find-files (string-append "arch/" arch
"/bits"))))
(when (file-exists? (string-append lib "/libc.so"))
(symlink "libc.so"
(string-append lib "/ld-musl-" arch
".so.1")))))))))))
- 69/85: gnu: binutils-muslboot0: Correct package inputs., (continued)
- 69/85: gnu: binutils-muslboot0: Correct package inputs., guix-commits, 2024/12/17
- 23/85: gnu: tcc-boot: Update to 0.9.27.1139-8cd21e9., guix-commits, 2024/12/17
- 51/85: gnu: gnu-make-boot0: Adjust configure-flags on riscv64-linux., guix-commits, 2024/12/17
- 54/85: gnu: %boot0-inputs: Use newly built *-boot0 packages on riscv64-linux., guix-commits, 2024/12/17
- 75/85: fixup mpc-boot, guix-commits, 2024/12/17
- 80/85: gnu: gcc-muslboot: Backport c++ builtin values., guix-commits, 2024/12/17
- 78/85: gnu: gcc-mesboot1: Backport c++ builtin values., guix-commits, 2024/12/17
- 72/85: fixup gmp-boot, guix-commits, 2024/12/17
- 37/85: gnu: gcc-mesboot: Adjust for changes in gcc-mesboot1., guix-commits, 2024/12/17
- 45/85: gnu: gawk-mesboot: Remove pre-generated source file., guix-commits, 2024/12/17
- 66/85: gnu: musl-boot0: Fix installation order of headers.,
guix-commits <=
- 81/85: gnu: gcc-muslboot: Apply patches in the package source., guix-commits, 2024/12/17
- 55/85: gnu: %boot0-inputs: Remove duplicate packages., guix-commits, 2024/12/17