aboutsummaryrefslogtreecommitdiff
path: root/aux/guix/with-container.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-13 15:02:40 -0300
committerEuAndreh <eu@euandre.org>2022-01-13 15:02:40 -0300
commitc98d6c8175a1b2fe4452990b6ac19346411b637d (patch)
treeb089c7bf575b58d94951a651be32869a94a2f396 /aux/guix/with-container.sh
parentsrc/xyz/euandreh/queue.scm: Change pymd4c to upstream repository (diff)
downloadpackages-c98d6c8175a1b2fe4452990b6ac19346411b637d.tar.gz
packages-c98d6c8175a1b2fe4452990b6ac19346411b637d.tar.xz
aux/: Update
Diffstat (limited to 'aux/guix/with-container.sh')
-rwxr-xr-xaux/guix/with-container.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh
index 408fb39..6e19691 100755
--- a/aux/guix/with-container.sh
+++ b/aux/guix/with-container.sh
@@ -7,7 +7,11 @@ if [ -z "${1:-}" ]; then
elif [ "$1" = '-p' ]; then
guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
environment --fallback -m aux/guix/manifest.scm --pure -C
+elif [ "$1" = '-C' ]; then
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ pack -f docker -S/bin=bin -m aux/guix/manifest.scm -v3
else
guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
- environment --fallback -m aux/guix/manifest.scm --pure -C -- sh -c "$@"
+ environment --fallback -m aux/guix/manifest.scm --pure -C \
+ -- sh -c "$@"
fi