Changeset View
Changeset View
Standalone View
Standalone View
contrib/guix/libexec/prelude.bash
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
fi | fi | ||||
################ | ################ | ||||
# Execute "$@" in a pinned, possibly older version of Guix, for reproducibility | # Execute "$@" in a pinned, possibly older version of Guix, for reproducibility | ||||
# across time. | # across time. | ||||
time-machine() { | time-machine() { | ||||
# shellcheck disable=SC2086 | # shellcheck disable=SC2086 | ||||
guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \ | guix time-machine --url=https://git.savannah.gnu.org/git/guix.git \ | ||||
--commit=160f78a4d92205df986ed9efcce7d3aac188cb24 \ | --commit=afdcba78558bd7a33f517716e69bb9494297064d \ | ||||
--cores="$JOBS" \ | --cores="$JOBS" \ | ||||
--keep-failed \ | --keep-failed \ | ||||
--fallback \ | --fallback \ | ||||
${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ | ${SUBSTITUTE_URLS:+--substitute-urls="$SUBSTITUTE_URLS"} \ | ||||
${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \ | ${ADDITIONAL_GUIX_COMMON_FLAGS} ${ADDITIONAL_GUIX_TIMEMACHINE_FLAGS} \ | ||||
-- "$@" | -- "$@" | ||||
} | } | ||||
Show All 16 Lines |