aboutsummaryrefslogtreecommitdiff
path: root/aux/guix/with-container.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-17 17:02:43 -0300
committerEuAndreh <eu@euandre.org>2021-08-17 17:03:28 -0300
commit45e2145a719833019bbd95072db98af03647b797 (patch)
treefe7740c7db05801b463e773b113f8f98a432e3d1 /aux/guix/with-container.sh
parentTODOs.md: Add #task-e99fa50b-75ea-21fb-6b4d-84447646cdea (diff)
downloadgistatic-45e2145a719833019bbd95072db98af03647b797.tar.gz
gistatic-45e2145a719833019bbd95072db98af03647b797.tar.xz
aux/, tests/lib.sh: Update
Diffstat (limited to 'aux/guix/with-container.sh')
-rwxr-xr-xaux/guix/with-container.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh
index 71e13e0..641b455 100755
--- a/aux/guix/with-container.sh
+++ b/aux/guix/with-container.sh
@@ -7,6 +7,9 @@ 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
else
guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
environment --fallback -m aux/guix/manifest.scm --pure -C \