aboutsummaryrefslogtreecommitdiff
path: root/sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-13 11:09:35 -0300
committerEuAndreh <eu@euandre.org>2021-03-13 11:09:35 -0300
commit168716bf5650edbe09c712567b31304fa290b706 (patch)
tree69bc7763fb613468183ee8f81c713f2713662e31 /sh
parentsh/env.sh: Add -fPIC and -g to $CFLAGS (diff)
downloaddotfiles-168716bf5650edbe09c712567b31304fa290b706.tar.gz
dotfiles-168716bf5650edbe09c712567b31304fa290b706.tar.xz
fake-symlinks: with-container.sh: Add --fallback to guix commands
Diffstat (limited to 'sh')
-rwxr-xr-xsh/templates/aux/guix/with-container.sh13
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