aboutsummaryrefslogtreecommitdiff
path: root/aux
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-02-09 00:39:55 -0300
committerEuAndreh <eu@euandre.org>2021-02-09 00:39:55 -0300
commit913a9871a332d337f5b6ad21590c0dcbc2847e32 (patch)
tree796131cb4687a2c70145f1882bf4948628811890 /aux
parentAdd self-referential channel to pinned-channels.scm for running nixfmt on CI (diff)
downloadpackage-repository-913a9871a332d337f5b6ad21590c0dcbc2847e32.tar.gz
package-repository-913a9871a332d337f5b6ad21590c0dcbc2847e32.tar.xz
with-container.sh: Default run without arguments to non-containerized environment
Diffstat (limited to 'aux')
-rwxr-xr-xaux/guix/with-container.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh
index 3e6a590..6561b2c 100755
--- a/aux/guix/with-container.sh
+++ b/aux/guix/with-container.sh
@@ -3,10 +3,10 @@ set -eux
if [ -z "${1:-}" ]; then
guix time-machine -C aux/guix/pinned-channels.scm -- \
- environment --pure -C -m aux/guix/manifest.scm
-elif [ "$1" = '-i' ]; then
- guix time-machine -C aux/guix/pinned-channels.scm -- \
environment -m aux/guix/manifest.scm
+elif [ "$1" = '-p' ]; then
+ guix time-machine -C aux/guix/pinned-channels.scm -- \
+ environment --pure -C -m aux/guix/manifest.scm
else
guix time-machine -C aux/guix/pinned-channels.scm -- \
environment --pure -C -m aux/guix/manifest.scm -- \