From be9b32beae29eccd0de23bf49b95275996e174e1 Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Sat, 7 Mar 2026 12:52:33 -0500 Subject: [PATCH] feat(steps-guix): add guile-semver dependency required by guix before bootstrap binaries --- steps-guix/guile-semver-0.2.0/pass1.sh | 30 ++++++++++++++++++++++++++ steps-guix/guile-semver-0.2.0/sources | 1 + steps-guix/manifest | 1 + 3 files changed, 32 insertions(+) create mode 100755 steps-guix/guile-semver-0.2.0/pass1.sh create mode 100644 steps-guix/guile-semver-0.2.0/sources diff --git a/steps-guix/guile-semver-0.2.0/pass1.sh b/steps-guix/guile-semver-0.2.0/pass1.sh new file mode 100755 index 00000000..ace38a62 --- /dev/null +++ b/steps-guix/guile-semver-0.2.0/pass1.sh @@ -0,0 +1,30 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + +src_prepare() { + default + autoreconf -fi +} + +src_configure() { + local host_triplet pkg_config_path + host_triplet="$(gcc -dumpmachine)" + pkg_config_path="${LIBDIR}/pkgconfig" + + PATH="${PREFIX}/bin:/usr/bin:/bin" \ + PKG_CONFIG_LIBDIR="${pkg_config_path}:${PREFIX}/lib/pkgconfig" \ + PKG_CONFIG_PATH="${pkg_config_path}:${PREFIX}/lib/pkgconfig" \ + LD_LIBRARY_PATH="${LIBDIR}:${LD_LIBRARY_PATH}" \ + ./configure \ + --prefix="${PREFIX}" \ + --libdir="${LIBDIR}" \ + --host="${host_triplet}" \ + --build="${host_triplet}" +} + +src_compile() { + default_src_compile +} + +src_install() { + default_src_install +} diff --git a/steps-guix/guile-semver-0.2.0/sources b/steps-guix/guile-semver-0.2.0/sources new file mode 100644 index 00000000..7fbef8f0 --- /dev/null +++ b/steps-guix/guile-semver-0.2.0/sources @@ -0,0 +1 @@ +g https://codeberg.org/daym/guile-semver.git~607ca84c24b8950fdb5aca73e9d53d924e49fc24 https://codeberg.org/daym/guile-semver/archive/607ca84c24b8950fdb5aca73e9d53d924e49fc24.tar.gz 1fc65e623be753b711db5327ea3992d58c22f0641c6473d5bc1057f321144141 guile-semver-607ca84c24b8950fdb5aca73e9d53d924e49fc24.tar.gz diff --git a/steps-guix/manifest b/steps-guix/manifest index 1791c20c..820e02ad 100644 --- a/steps-guix/manifest +++ b/steps-guix/manifest @@ -42,6 +42,7 @@ build: avahi-0.8 build: guile-avahi-0.4.1 build: guile-git-0.10.0 build: guile-json-4.7.3 +build: guile-semver-0.2.0 # End of Guix Dependencies # Build Guix Bootstrap seeds (All flowing must be static) # Build static-binaries-0-i686-linux.tar.xz