diff options
| author | EuAndreh <eu@euandre.org> | 2021-03-13 11:09:35 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2021-03-13 11:09:35 -0300 |
| commit | 168716bf5650edbe09c712567b31304fa290b706 (patch) | |
| tree | 69bc7763fb613468183ee8f81c713f2713662e31 /sh | |
| parent | sh/env.sh: Add -fPIC and -g to $CFLAGS (diff) | |
| download | dotfiles-168716bf5650edbe09c712567b31304fa290b706.tar.gz dotfiles-168716bf5650edbe09c712567b31304fa290b706.tar.xz | |
fake-symlinks: with-container.sh: Add --fallback to guix commands
Diffstat (limited to 'sh')
| -rwxr-xr-x | sh/templates/aux/guix/with-container.sh | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/sh/templates/aux/guix/with-container.sh b/sh/templates/aux/guix/with-container.sh index 6561b2ce..13b6cd3c 100755 --- a/sh/templates/aux/guix/with-container.sh +++ b/sh/templates/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 |
