aboutsummaryrefslogtreecommitdiff
path: root/aux/guix/with-container.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-03-13 11:12:52 -0300
committerEuAndreh <eu@euandre.org>2021-03-13 11:12:52 -0300
commit9189328f1deafbfd84a1f28d573dcd5f7bc2c4e4 (patch)
tree4af62cd4dbdcf9ed6236a5856297bd33094ab6d8 /aux/guix/with-container.sh
parentaux/guix/with-container.sh: Add --fallback (diff)
downloadpackage-repository-9189328f1deafbfd84a1f28d573dcd5f7bc2c4e4.tar.gz
package-repository-9189328f1deafbfd84a1f28d573dcd5f7bc2c4e4.tar.xz
aux/guix/with-container.sh: Add --fallback to Guix commands
Diffstat (limited to '')
-rwxr-xr-xaux/guix/with-container.sh11
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