diff options
author | EuAndreh <eu@euandre.org> | 2021-02-09 00:39:55 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-02-09 00:39:55 -0300 |
commit | 913a9871a332d337f5b6ad21590c0dcbc2847e32 (patch) | |
tree | 796131cb4687a2c70145f1882bf4948628811890 /aux/guix | |
parent | Add self-referential channel to pinned-channels.scm for running nixfmt on CI (diff) | |
download | package-repository-913a9871a332d337f5b6ad21590c0dcbc2847e32.tar.gz package-repository-913a9871a332d337f5b6ad21590c0dcbc2847e32.tar.xz |
with-container.sh: Default run without arguments to non-containerized environment
Diffstat (limited to 'aux/guix')
-rwxr-xr-x | aux/guix/with-container.sh | 6 |
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 -- \ |