aboutsummaryrefslogtreecommitdiff
path: root/build-aux/guix
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-25 17:52:55 -0300
committerEuAndreh <eu@euandre.org>2021-01-25 17:52:55 -0300
commit27c41122121ed1c52cf948537ea07cc86e851d16 (patch)
treec2b0c78bc41c1fce82835ffb539b6a02afc1fad0 /build-aux/guix
parentUse "make public" as the primary way of building the site (diff)
downloadeuandre.org-27c41122121ed1c52cf948537ea07cc86e851d16.tar.gz
euandre.org-27c41122121ed1c52cf948537ea07cc86e851d16.tar.xz
Move Guix files under build-aux/guix/
Diffstat (limited to 'build-aux/guix')
-rw-r--r--build-aux/guix/manifest.scm15
-rw-r--r--build-aux/guix/pinned-channels.scm11
-rwxr-xr-xbuild-aux/guix/with-container.sh4
3 files changed, 30 insertions, 0 deletions
diff --git a/build-aux/guix/manifest.scm b/build-aux/guix/manifest.scm
new file mode 100644
index 0000000..0c8a225
--- /dev/null
+++ b/build-aux/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/build-aux/guix/pinned-channels.scm b/build-aux/guix/pinned-channels.scm
new file mode 100644
index 0000000..67b5a51
--- /dev/null
+++ b/build-aux/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")))))
diff --git a/build-aux/guix/with-container.sh b/build-aux/guix/with-container.sh
new file mode 100755
index 0000000..5544d8e
--- /dev/null
+++ b/build-aux/guix/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 "$@"