From 6e764badc1d8a96d4e5a79c9b74741975d42c3f1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 13 Mar 2021 11:13:30 -0300 Subject: aux/guix/with-container.sh: Add --fallback to Guix commands --- aux/guix/with-container.sh | 13 ++++++------- 1 file 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 -- cgit v1.2.3