mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-08 07:56:16 -05:00
gnu: commencement: bootar: Build fix for i686-linux.
Fixes <https://bugs.gnu.org/39699>. * gnu/packages/commencement.scm (bootar)[i686-linux]: Stub bzip2.
This commit is contained in:
parent
c7d9abf830
commit
a82cf70e8a
1 changed files with 10 additions and 0 deletions
|
@ -111,6 +111,16 @@ (define bootar
|
||||||
(guile (string-append guile-dir "/bin/guile")))
|
(guile (string-append guile-dir "/bin/guile")))
|
||||||
(invoke guile "--no-auto-compile" source)
|
(invoke guile "--no-auto-compile" source)
|
||||||
(chdir "bootar")
|
(chdir "bootar")
|
||||||
|
;; (commencement bzip2) breaks tar on x86, see
|
||||||
|
;; https://bugs.gnu.org/39699
|
||||||
|
(delete-file "scripts/bzip2.in")
|
||||||
|
(delete-file "compression/bzip2.scm")
|
||||||
|
(with-output-to-file "compression/bzip2.scm"
|
||||||
|
(lambda _
|
||||||
|
(display "(define-module (compression bzip2))
|
||||||
|
(define-public is-bzip2-file? (const #f))
|
||||||
|
(define-public make-bzip2-input-port (const #f))
|
||||||
|
")))
|
||||||
#t)))
|
#t)))
|
||||||
(replace 'configure (bootstrap-configure ,version "." "scripts"))
|
(replace 'configure (bootstrap-configure ,version "." "scripts"))
|
||||||
(replace 'build (bootstrap-build "."))
|
(replace 'build (bootstrap-build "."))
|
||||||
|
|
Loading…
Reference in a new issue