Skip to content

Commit ea1f524

Browse files
committed
fix: make CONFIGFLAGS optional (dashpay#5713)
## Issue being fixed or feature implemented make it possible to run `./contrib/guix/guix-build` without specifying `CONFIGFLAGS` ## What was done? ## How Has This Been Tested? run `./contrib/guix/guix-build` w/ and w/out this patch ## Breaking Changes n/a ## Checklist: - [x] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have added or updated relevant unit/integration/functional/e2e tests - [ ] I have made corresponding changes to the documentation - [x] I have assigned this pull request to a milestone _(for repository code-owners and collaborators only)_
1 parent 702bc49 commit ea1f524

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

contrib/guix/libexec/build.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,17 @@ Required environment variables as seen inside the container:
2727
DIST_ARCHIVE_BASE: ${DIST_ARCHIVE_BASE:?not set}
2828
DISTNAME: ${DISTNAME:?not set}
2929
HOST: ${HOST:?not set}
30-
CONFIGFLAGS: ${CONFIGFLAGS:?not set}
3130
SOURCE_DATE_EPOCH: ${SOURCE_DATE_EPOCH:?not set}
3231
JOBS: ${JOBS:?not set}
3332
DISTSRC: ${DISTSRC:?not set}
3433
OUTDIR: ${OUTDIR:?not set}
3534
EOF
3635

36+
cat << EOF
37+
Optional environment variables as seen inside the container:
38+
CONFIGFLAGS: ${CONFIGFLAGS}
39+
EOF
40+
3741
ACTUAL_OUTDIR="${OUTDIR}"
3842
OUTDIR="${DISTSRC}/output"
3943

0 commit comments

Comments
 (0)