mirror of
https://codeberg.org/guix/guix.git
synced 2026-04-28 06:34:05 +00:00
gnu: Add oksh-muslboot0.
* gnu/packages/commencement.scm (oksh-muslboot0): New variable. Change-Id: I37bf7ac4c3cac842c217c297f257e8143fb2eaf8
This commit is contained in:
committed by
Janneke Nieuwenhuizen
parent
4f7ef33d43
commit
b675f1b364
@@ -1095,6 +1095,36 @@ MesCC-Tools), and finally M2-Planet.")
|
||||
"-o" "tcc"
|
||||
"tcc.c"))))))))))
|
||||
|
||||
;; Gash served us well, but there are known issues on riscv64.
|
||||
;; OpenBSD's ksh will do just fine as a replacement until we get to bash.
|
||||
(define oksh-muslboot0
|
||||
(package
|
||||
(inherit oksh)
|
||||
(source (bootstrap-origin (package-source oksh)))
|
||||
(arguments
|
||||
(list
|
||||
#:implicit-inputs? #f
|
||||
#:guile %bootstrap-guile
|
||||
#:tests? #f ; No tests.
|
||||
#:strip-binaries? #f ; No strip yet.
|
||||
#:parallel-build? #f ; Race conditions.
|
||||
#:configure-flags
|
||||
#~(list "--cc=tcc"
|
||||
"--enable-static")
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
;; make: install: Command not found
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(install-file "oksh" (string-append %output "/bin"))
|
||||
(install-file "oksh.1" (string-append %output "/share/man/man1"))
|
||||
;; For compatibility and ease of use in later builds.
|
||||
(symlink "oksh" (string-append %output "/bin/sh"))
|
||||
(symlink "oksh" (string-append %output "/bin/bash"))))
|
||||
(delete 'compress-documentation))))
|
||||
(native-inputs (modify-inputs (package-native-inputs tcc-musl)
|
||||
(replace "tcc" tcc-musl)))))
|
||||
|
||||
(define binutils-mesboot0
|
||||
;; The initial Binutils
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user