diff options
author | EuAndreh <eu@euandre.org> | 2021-03-13 11:13:09 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-03-13 11:13:09 -0300 |
commit | 193181e7b0bf95d3a5f1d0f8a59c4e4b53f8d5de (patch) | |
tree | 29f0f16eba7888e9cae463399a2b7d789fabeec2 | |
parent | Revert change to aux/ci/ci-build.sh (diff) | |
download | toph-193181e7b0bf95d3a5f1d0f8a59c4e4b53f8d5de.tar.gz toph-193181e7b0bf95d3a5f1d0f8a59c4e4b53f8d5de.tar.xz |
aux/guix/with-container.sh: Add --fallback to Guix commands
-rwxr-xr-x | aux/guix/with-container.sh | 13 |
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 |