From 27c41122121ed1c52cf948537ea07cc86e851d16 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 25 Jan 2021 17:52:55 -0300 Subject: Move Guix files under build-aux/guix/ --- build-aux/ci/ci-build.sh | 4 ++-- build-aux/guix/manifest.scm | 15 +++++++++++++++ build-aux/guix/pinned-channels.scm | 11 +++++++++++ build-aux/guix/with-container.sh | 4 ++++ build-aux/with-container.sh | 4 ---- guix/manifest.scm | 15 --------------- guix/pinned-channels.scm | 11 ----------- 7 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 build-aux/guix/manifest.scm create mode 100644 build-aux/guix/pinned-channels.scm create mode 100755 build-aux/guix/with-container.sh delete mode 100755 build-aux/with-container.sh delete mode 100644 guix/manifest.scm delete mode 100644 guix/pinned-channels.scm diff --git a/build-aux/ci/ci-build.sh b/build-aux/ci/ci-build.sh index b7a4c38..0b792df 100755 --- a/build-aux/ci/ci-build.sh +++ b/build-aux/ci/ci-build.sh @@ -35,8 +35,8 @@ EOF git config --global user.email git@euandre.org git config --global user.name 'EuAndreh CI' - if [ -f build-aux/with-container.sh ]; then - RUNNER='./build-aux/with-container.sh' + if [ -f build-aux/guix/with-container.sh ]; then + RUNNER='./build-aux/guix/with-container.sh' else RUNNER='sh -c' fi 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 "$@" diff --git a/build-aux/with-container.sh b/build-aux/with-container.sh deleted file mode 100755 index 5544d8e..0000000 --- a/build-aux/with-container.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/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 deleted file mode 100644 index 0c8a225..0000000 --- a/guix/manifest.scm +++ /dev/null @@ -1,15 +0,0 @@ -(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 deleted file mode 100644 index 67b5a51..0000000 --- a/guix/pinned-channels.scm +++ /dev/null @@ -1,11 +0,0 @@ -(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