1 From 8babe5f2ccb73cc574933743b381557a4db02424 Mon Sep 17 00:00:00 2001
2 From: Zack Weinberg <zackw@panix.com>
3 Date: Thu, 30 Mar 2023 10:50:36 -0400
4 Subject: [PATCH 08/29] New script for building inside Guix containers.
6 build-aux/test-build-guix, goes with the top level manifest.scm.
7 See the top of the file for usage instructions.
9 Upstream-Status: Backport
10 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 build-aux/test-build-guix | 30 ++++++++++++++++++++++++++++++
13 1 file changed, 30 insertions(+)
14 create mode 100755 build-aux/test-build-guix
16 diff --git a/build-aux/test-build-guix b/build-aux/test-build-guix
18 index 000000000..4470af9b7
20 +++ b/build-aux/test-build-guix
24 +# From a pristine Git checkout, run
25 +# guix shell --container --manifest=manifest.scm -- build-aux/test-build-guix
26 +# to perform a complete bootstrap and test build of Autoconf.
30 +# Guix bug? /bin/sh is usually *not* the shell specified in the manifest.
31 +SHELL="$(command -v sh)"
33 +if [ "$(realpath /bin/sh)" != "$(realpath "$SHELL")" ]; then
39 + exec "$SHELL" "$0" "$@"
43 +if [ -d _build ]; then
50 +make all info pdf dvi