aboutsummaryrefslogtreecommitdiff
path: root/aux/containers
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-09-13 09:13:38 -0300
committerEuAndreh <eu@euandre.org>2021-09-13 13:13:48 -0300
commit281266977b79d6242a518e1397780cbcd374be06 (patch)
treecd0278f530db43292400f2c54516096e7d2091c8 /aux/containers
parentaux/ci/ci-build.sh: Use aux/with-container, as a symlink to aux/guix/with-con... (diff)
downloadgit-permalink-281266977b79d6242a518e1397780cbcd374be06.tar.gz
git-permalink-281266977b79d6242a518e1397780cbcd374be06.tar.xz
mv aux/guix/ aux/containers/
Diffstat (limited to 'aux/containers')
-rw-r--r--aux/containers/guix/manifest.scm26
-rw-r--r--aux/containers/guix/pinned-channels.scm11
-rwxr-xr-xaux/containers/guix/with-container.sh11
3 files changed, 48 insertions, 0 deletions
diff --git a/aux/containers/guix/manifest.scm b/aux/containers/guix/manifest.scm
new file mode 100644
index 0000000..0c24595
--- /dev/null
+++ b/aux/containers/guix/manifest.scm
@@ -0,0 +1,26 @@
+(specifications->manifest
+ (map symbol->string
+ '(bash
+ coreutils
+ findutils
+ diffutils
+ grep
+ sed
+ m4
+ git
+ gawk
+ make
+ makefile2graph
+ graphviz
+ shellcheck
+ pandoc
+ gettext
+ po4a-text
+ mdpo-patched
+ hunspell
+ hunspell-dict-en-utf8
+ hunspell-dict-pt-utf8
+ hunspell-dict-fr-utf8
+ hunspell-dict-eo-utf8
+
+ glibc)))
diff --git a/aux/containers/guix/pinned-channels.scm b/aux/containers/guix/pinned-channels.scm
new file mode 100644
index 0000000..f5c039a
--- /dev/null
+++ b/aux/containers/guix/pinned-channels.scm
@@ -0,0 +1,11 @@
+(cons*
+ (channel
+ (name 'xyz-euandreh)
+ (url "git://euandreh.xyz/package-repository.git")
+ (branch "main")
+ (introduction
+ (make-channel-introduction
+ "d749e053e6db365069cb9b2ef47a78b06f9e7361"
+ (openpgp-fingerprint
+ "5BDA E9B8 B2F6 C6BC BB0D 6CE5 81F9 0EC3 CD35 6060"))))
+ %default-channels)
diff --git a/aux/containers/guix/with-container.sh b/aux/containers/guix/with-container.sh
new file mode 100755
index 0000000..1b7c004
--- /dev/null
+++ b/aux/containers/guix/with-container.sh
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -eu
+
+if [ -z "${1:-}" ]; then
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ environment --fallback -m aux/guix/manifest.scm
+else
+ guix time-machine --fallback -C aux/guix/pinned-channels.scm -- \
+ environment --fallback -m aux/guix/manifest.scm --pure -C \
+ -- sh -c "$@"
+fi