From 78a9fd4e3ace4096cc61568b2c49710bddbbff79 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 21 Mar 2021 14:40:33 -0300 Subject: Add base skeleton project files --- aux/guix/with-container.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 aux/guix/with-container.sh (limited to 'aux/guix/with-container.sh') diff --git a/aux/guix/with-container.sh b/aux/guix/with-container.sh new file mode 100755 index 0000000..13b6cd3 --- /dev/null +++ b/aux/guix/with-container.sh @@ -0,0 +1,13 @@ +#!/bin/sh +set -eux + +if [ -z "${1:-}" ]; then + guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \ + environment --fallback -m aux/guix/manifest.scm +elif [ "$1" = '-p' ]; then + guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \ + environment --fallback -m aux/guix/manifest.scm --pure -C +else + guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \ + environment --fallback -m aux/guix/manifest.scm --pure -C -- sh -c "$@" +fi -- cgit v1.2.3