aboutsummaryrefslogtreecommitdiff
path: root/aux/guix/with-container.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-09-03 20:39:10 -0300
committerEuAndreh <eu@euandre.org>2021-09-03 20:39:10 -0300
commit51a9914dc8ec02b053a5594b7478b4d68a750672 (patch)
tree8b3143830dc5658f3848328facded29e4c6cb52c /aux/guix/with-container.sh
parentWIP reactivate nixvps with Terraform and nixos-rebuild on Vultr (diff)
downloadserver-51a9914dc8ec02b053a5594b7478b4d68a750672.tar.gz
server-51a9914dc8ec02b053a5594b7478b4d68a750672.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