diff options
| author | Efraim Flashner <efraim@flashner.co.il> | 2024-10-09 14:03:41 +0300 |
|---|---|---|
| committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2026-01-28 21:47:38 +0100 |
| commit | b675f1b3649bf64c77b316aafcfb2eb9e70df46c (patch) | |
| tree | 83ecabfeb1c1cee4d65d74d0cb7fb0467a60b290 /gnu | |
| parent | 4f7ef33d4304c0f88f466dd7ac7f1ee8ccd20559 (diff) | |
gnu: Add oksh-muslboot0.
* gnu/packages/commencement.scm (oksh-muslboot0): New variable.
Change-Id: I37bf7ac4c3cac842c217c297f257e8143fb2eaf8
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/packages/commencement.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 6e0a5d59d62..558678c57a8 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm | |||
| @@ -1095,6 +1095,36 @@ MesCC-Tools), and finally M2-Planet.") | |||
| 1095 | "-o" "tcc" | 1095 | "-o" "tcc" |
| 1096 | "tcc.c")))))))))) | 1096 | "tcc.c")))))))))) |
| 1097 | 1097 | ||
| 1098 | ;; Gash served us well, but there are known issues on riscv64. | ||
| 1099 | ;; OpenBSD's ksh will do just fine as a replacement until we get to bash. | ||
| 1100 | (define oksh-muslboot0 | ||
| 1101 | (package | ||
| 1102 | (inherit oksh) | ||
| 1103 | (source (bootstrap-origin (package-source oksh))) | ||
| 1104 | (arguments | ||
| 1105 | (list | ||
| 1106 | #:implicit-inputs? #f | ||
| 1107 | #:guile %bootstrap-guile | ||
| 1108 | #:tests? #f ; No tests. | ||
| 1109 | #:strip-binaries? #f ; No strip yet. | ||
| 1110 | #:parallel-build? #f ; Race conditions. | ||
| 1111 | #:configure-flags | ||
| 1112 | #~(list "--cc=tcc" | ||
| 1113 | "--enable-static") | ||
| 1114 | #:phases | ||
| 1115 | #~(modify-phases %standard-phases | ||
| 1116 | ;; make: install: Command not found | ||
| 1117 | (replace 'install | ||
| 1118 | (lambda _ | ||
| 1119 | (install-file "oksh" (string-append %output "/bin")) | ||
| 1120 | (install-file "oksh.1" (string-append %output "/share/man/man1")) | ||
| 1121 | ;; For compatibility and ease of use in later builds. | ||
| 1122 | (symlink "oksh" (string-append %output "/bin/sh")) | ||
| 1123 | (symlink "oksh" (string-append %output "/bin/bash")))) | ||
| 1124 | (delete 'compress-documentation)))) | ||
| 1125 | (native-inputs (modify-inputs (package-native-inputs tcc-musl) | ||
| 1126 | (replace "tcc" tcc-musl))))) | ||
| 1127 | |||
| 1098 | (define binutils-mesboot0 | 1128 | (define binutils-mesboot0 |
| 1099 | ;; The initial Binutils | 1129 | ;; The initial Binutils |
| 1100 | (package | 1130 | (package |
