From 919200478b7fe8f28186b2b1d112e7386c72c9fb Mon Sep 17 00:00:00 2001 From: vxtls <187420201+vxtls@users.noreply.github.com> Date: Mon, 2 Mar 2026 22:28:28 -0500 Subject: [PATCH] fix(guix-bzip2): install via DESTDIR-prefixed PREFIX to avoid empty package and lost /usr/bin/bzip2 --- steps-guix/bzip2-1.0.6/pass1.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/steps-guix/bzip2-1.0.6/pass1.sh b/steps-guix/bzip2-1.0.6/pass1.sh index 77bd28fa..d2a1c189 100644 --- a/steps-guix/bzip2-1.0.6/pass1.sh +++ b/steps-guix/bzip2-1.0.6/pass1.sh @@ -12,8 +12,9 @@ src_compile() { } src_install() { - make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${SYSTEM_PREFIX}" DESTDIR="${DESTDIR}" install - make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${SEED_PREFIX}" DESTDIR="${DESTDIR}" install + # Upstream bzip2 Makefile does not support DESTDIR, so PREFIX must include it. + make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${DESTDIR}${SYSTEM_PREFIX}" install + make CFLAGS="-O2" LDFLAGS="-static" PREFIX="${DESTDIR}${SEED_PREFIX}" install # Fail early if either installed binary is not executable in this environment. "${DESTDIR}${SYSTEM_PREFIX}/bin/bzip2" --help >/dev/null