diff options
author | EuAndreh <eu@euandre.org> | 2021-03-13 11:12:52 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-03-13 11:12:52 -0300 |
commit | 9189328f1deafbfd84a1f28d573dcd5f7bc2c4e4 (patch) | |
tree | 4af62cd4dbdcf9ed6236a5856297bd33094ab6d8 | |
parent | aux/guix/with-container.sh: Add --fallback (diff) | |
download | package-repository-9189328f1deafbfd84a1f28d573dcd5f7bc2c4e4.tar.gz package-repository-9189328f1deafbfd84a1f28d573dcd5f7bc2c4e4.tar.xz |
aux/guix/with-container.sh: Add --fallback to Guix commands
Diffstat (limited to '')
-rwxr-xr-x | aux/guix/with-container.sh | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh index 909cd9e..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 -- \ + 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 --fallback --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 --fallback --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 |