From 97811638d971b13a63216e636ea72270158747ce Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 23 Jan 2021 19:37:06 -0300 Subject: Add default Guix infrastructure --- build-aux/with-container.sh | 4 ++++ guix/manifest.scm | 15 +++++++++++++++ guix/pinned-channels.scm | 11 +++++++++++ 3 files changed, 30 insertions(+) create mode 100755 build-aux/with-container.sh create mode 100644 guix/manifest.scm create mode 100644 guix/pinned-channels.scm 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"))))) -- cgit v1.2.3