diff options
author | laanwj <126646+laanwj@users.noreply.github.com> | 2022-03-07 11:08:46 +0100 |
---|---|---|
committer | laanwj <126646+laanwj@users.noreply.github.com> | 2022-03-07 11:08:46 +0100 |
commit | 6833aceac97dd170970338f0bde5029f7d7aaa03 (patch) | |
tree | fee78e9ab43cdc8be44a1a145c7432f93ad25d30 /contrib/guix/guix-codesign | |
parent | 3b08427b58007351cc94ab099123af13ef590e56 (diff) | |
download | bitcoin-6833aceac97dd170970338f0bde5029f7d7aaa03.tar.xz |
build: Move guix time machine to prelude
This deduplicates some code, and enforces consistency of the time
machine configuration between scripts.
Diffstat (limited to 'contrib/guix/guix-codesign')
-rwxr-xr-x | contrib/guix/guix-codesign | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/contrib/guix/guix-codesign b/contrib/guix/guix-codesign index 8be927bd06..94895d3fee 100755 --- a/contrib/guix/guix-codesign +++ b/contrib/guix/guix-codesign @@ -222,20 +222,6 @@ JOBS="${JOBS:-$(nproc)}" # Determine the reference time used for determinism (overridable by environment) SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(git -c log.showSignature=false log --format=%at -1)}" -# Execute "$@" in a pinned, possibly older version of Guix, for reproducibility -# across time. -time-machine() { - # shellcheck disable=SC2086 - guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \ - --commit=ae03f401381e956c4c41b4cf495cbde964fa43d0 \ - --cores="$JOBS" \ - --keep-failed \ - --fallback \ - ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ - ${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \ - -- "$@" -} - # Make sure an output directory exists for our builds OUTDIR_BASE="${OUTDIR_BASE:-${VERSION_BASE}/output}" mkdir -p "$OUTDIR_BASE" |