From 913a9871a332d337f5b6ad21590c0dcbc2847e32 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 9 Feb 2021 00:39:55 -0300 Subject: with-container.sh: Default run without arguments to non-containerized environment --- aux/guix/with-container.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'aux/guix') 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 @@ -2,11 +2,11 @@ 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 -- \ -- cgit v1.2.3