aboutsummaryrefslogtreecommitdiff
path: root/aux
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-13 11:12:20 -0300
committerEuAndreh <eu@euandre.org>2021-03-13 11:12:20 -0300
commitb4b24d8a0d31630acb519311c390c168653e6f95 (patch)
tree22a6574ed23f405a289c175931ee4cab61acac9b /aux
parentRevert change to aux/ci/ci-build.sh (diff)
downloadgistatic-b4b24d8a0d31630acb519311c390c168653e6f95.tar.gz
gistatic-b4b24d8a0d31630acb519311c390c168653e6f95.tar.xz
aux/guix/with-container.sh: Add --fallback to Guix commands
Diffstat (limited to 'aux')
-rwxr-xr-xaux/guix/with-container.sh13
1 files changed, 6 insertions, 7 deletions
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh
index 6561b2c..13b6cd3 100755
--- a/aux/guix/with-container.sh
+++ b/aux/guix/with-container.sh
@@ -2,13 +2,12 @@
set -eux
if [ -z "${1:-}" ]; then
- guix time-machine -C aux/guix/pinned-channels.scm -- \
- environment -m aux/guix/manifest.scm
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ environment --fallback -m aux/guix/manifest.scm
elif [ "$1" = '-p' ]; then
- guix time-machine -C aux/guix/pinned-channels.scm -- \
- environment --pure -C -m aux/guix/manifest.scm
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ environment --fallback -m aux/guix/manifest.scm --pure -C
else
- guix time-machine -C aux/guix/pinned-channels.scm -- \
- environment --pure -C -m aux/guix/manifest.scm -- \
- sh -c "$@"
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ environment --fallback -m aux/guix/manifest.scm --pure -C -- sh -c "$@"
fi