diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-24 17:00:06 +0200 |
|---|---|---|
| committer | Efraim Flashner <efraim@flashner.co.il> | 2025-07-28 10:00:00 +0300 |
| commit | 1e7828f98670603961f74479e3fed0f10b4ea654 (patch) | |
| tree | 11429ee515a3f1b51c171ce9ff6d4961ddaf35fc | |
| parent | 00dd6c498eefe0a69c6693fedf88bf17d0302efe (diff) | |
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
| -rw-r--r-- | gnu/packages/commencement.scm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index cd83c172f55..3d48107f670 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -1010,9 +1010,12 @@ MesCC-Tools), and finally M2-Planet.") | |||
| 1010 | (for-each (lambda (file) | 1010 | (for-each (lambda (file) |
| 1011 | (install-file file (string-append incl "/bits"))) | 1011 | (install-file file (string-append incl "/bits"))) |
| 1012 | (append | 1012 | (append |
| 1013 | (find-files (string-append "arch/" arch "/bits")) | 1013 | ;; Instead of checking if the header already exists |
| 1014 | ;; install them in a 'backwards' order, so the | ||
| 1015 | ;; preferred one never ends up overridden. | ||
| 1016 | (find-files "obj/include/bits") | ||
| 1014 | (find-files "arch/generic/bits") | 1017 | (find-files "arch/generic/bits") |
| 1015 | (find-files "obj/include/bits"))) | 1018 | (find-files (string-append "arch/" arch "/bits")))) |
| 1016 | (when (file-exists? (string-append lib "/libc.so")) | 1019 | (when (file-exists? (string-append lib "/libc.so")) |
| 1017 | (symlink "libc.so" | 1020 | (symlink "libc.so" |
| 1018 | (string-append lib "/ld-musl-" arch ".so.1"))))))))))) | 1021 | (string-append lib "/ld-musl-" arch ".so.1"))))))))))) |
