gnu: Add relocatable static Guile 3.0 variant.

* gnu/packages/patches/guile-2.2-default-utf8.patch: New file, extracted from
commit 2acfe022a7.
* gnu/packages/patches/guile-3.0-linux-syscalls.patch,
gnu/packages/patches/guile-3.0-relocatable.patch: New files.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.  Move all Guile patches
together while at it.
* gnu/packages/make-bootstrap.scm (%guile-3.0-static-stripped): New public variable.
This commit is contained in:
Marius Bakke 2020-04-27 19:54:03 +02:00
parent e66bbd4201
commit 3ba23f0582
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA
5 changed files with 512 additions and 4 deletions

View file

@ -55,7 +55,8 @@
%mes-bootstrap-tarball
%bootstrap-tarballs
%guile-static-stripped))
%guile-static-stripped
%guile-3.0-static-stripped))
;;; Commentary:
;;;
@ -797,6 +798,14 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
;; A stripped static Guile binary, for use during bootstrap.
(make-guile-static-stripped %guile-static))
(define %guile-3.0-static-stripped
;; A stripped static Guile 3.0 binary, for use in initrds.
(make-guile-static-stripped
(make-guile-static guile-3.0
'("guile-2.2-default-utf8.patch"
"guile-3.0-linux-syscalls.patch"
"guile-3.0-relocatable.patch"))))
(define (tarball-package pkg)
"Return a package containing a tarball of PKG."
(package (inherit pkg)