diff options
author | EuAndreh <eu@euandre.org> | 2021-09-03 20:39:10 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-09-03 20:39:10 -0300 |
commit | 51a9914dc8ec02b053a5594b7478b4d68a750672 (patch) | |
tree | 8b3143830dc5658f3848328facded29e4c6cb52c /aux/guix/with-container.sh | |
parent | WIP reactivate nixvps with Terraform and nixos-rebuild on Vultr (diff) | |
download | server-51a9914dc8ec02b053a5594b7478b4d68a750672.tar.gz server-51a9914dc8ec02b053a5594b7478b4d68a750672.tar.xz |
aux/: Update
Diffstat (limited to 'aux/guix/with-container.sh')
-rwxr-xr-x | aux/guix/with-container.sh | 6 |
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 |