aboutsummaryrefslogtreecommitdiff
path: root/aux/containers/guix/with-container.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2023-03-13 14:25:15 -0300
committerEuAndreh <eu@euandre.org>2023-03-13 14:25:15 -0300
commit862271d704f1d096a26e0b3ff147b70ae94a64e3 (patch)
treecef7a195e779602beb9e951e6b7dbfabc69d5321 /aux/containers/guix/with-container.sh
parentgit mv src/xyz/euandreh/* src/org/euandre/ (diff)
downloadpackage-repository-862271d704f1d096a26e0b3ff147b70ae94a64e3.tar.gz
package-repository-862271d704f1d096a26e0b3ff147b70ae94a64e3.tar.xz
rm -rf aux/ po/
Diffstat (limited to '')
-rwxr-xr-xaux/containers/guix/with-container.sh19
1 files changed, 0 insertions, 19 deletions
diff --git a/aux/containers/guix/with-container.sh b/aux/containers/guix/with-container.sh
deleted file mode 100755
index fcbb8b5..0000000
--- a/aux/containers/guix/with-container.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-set -eu
-
-CHANNEL_REMOTE='https://euandreh.xyz/package-repository.git'
-CHANNEL_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/euandreh-guix-channel"
-
-if [ ! -d "$CHANNEL_DIR" ]; then
- git clone "$CHANNEL_REMOTE" "$CHANNEL_DIR"
-fi
-
-git -C "$CHANNEL_DIR" pull
-
-ENV_CMD="guix environment -L $CHANNEL_DIR/src/ -m aux/containers/guix/manifest.scm"
-
-if [ -z "${1:-}" ]; then
- $ENV_CMD
-else
- $ENV_CMD --pure -C -- sh -c "$@"
-fi