aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-23 19:37:06 -0300
committerEuAndreh <eu@euandre.org>2021-01-23 19:37:06 -0300
commit97811638d971b13a63216e636ea72270158747ce (patch)
tree3262e0e19712a96fa93ea2f39a9451854114db26
parentAuto-convert TODOs.org -> TODOs.md (diff)
downloadeuandre.org-97811638d971b13a63216e636ea72270158747ce.tar.gz
euandre.org-97811638d971b13a63216e636ea72270158747ce.tar.xz
Add default Guix infrastructure
Diffstat (limited to '')
-rwxr-xr-xbuild-aux/with-container.sh4
-rw-r--r--guix/manifest.scm15
-rw-r--r--guix/pinned-channels.scm11
3 files changed, 30 insertions, 0 deletions
diff --git a/build-aux/with-container.sh b/build-aux/with-container.sh
new file mode 100755
index 0000000..5544d8e
--- /dev/null
+++ b/build-aux/with-container.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+set -eux
+
+guix time-machine -C guix/pinned-channels.scm -- environment --pure -C -m guix/manifest.scm -- sh -c "$@"
diff --git a/guix/manifest.scm b/guix/manifest.scm
new file mode 100644
index 0000000..0c8a225
--- /dev/null
+++ b/guix/manifest.scm
@@ -0,0 +1,15 @@
+(specifications->manifest
+ (map symbol->string
+ '(coreutils
+ findutils
+ diffutils
+ grep
+ sed
+ git
+ tar
+ gzip
+ gawk
+ make
+ perl
+ shellcheck
+ pandoc)))
diff --git a/guix/pinned-channels.scm b/guix/pinned-channels.scm
new file mode 100644
index 0000000..67b5a51
--- /dev/null
+++ b/guix/pinned-channels.scm
@@ -0,0 +1,11 @@
+(list
+ (channel
+ (name 'guix)
+ (url "https://git.savannah.gnu.org/git/guix.git")
+ (commit
+ "d265809b782293eb42dd663b4611ca19dd2bf1b3")
+ (introduction
+ (make-channel-introduction
+ "9edb3f66fd807b096b48283debdcddccfea34bad"
+ (openpgp-fingerprint
+ "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))))