aboutsummaryrefslogtreecommitdiff
path: root/aux/guix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-08-15 17:31:16 -0300
committerEuAndreh <eu@euandre.org>2021-08-15 17:31:16 -0300
commit651bb5b3fb3a9b36599e1891efb22efb4bf34c3f (patch)
treeefbe3f44dccff3ed8eea651fed57c4ca937c03e9 /aux/guix
parent_articles/2020-11-07-diy-an-offline-bug-tracker-with-text-files-git-and-email... (diff)
downloadeuandre.org-651bb5b3fb3a9b36599e1891efb22efb4bf34c3f.tar.gz
euandre.org-651bb5b3fb3a9b36599e1891efb22efb4bf34c3f.tar.xz
aux/: Update
Diffstat (limited to 'aux/guix')
-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..641b455 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
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