diff options
-rw-r--r-- | .envrc | 13 | ||||
-rw-r--r-- | guix-dev.scm | 73 |
2 files changed, 86 insertions, 0 deletions
@@ -0,0 +1,13 @@ +# Unset the Guile paths to avoid mixing Guile major versions +export GUILE_LOAD_PATH="" +export GUILE_LOAD_COMPILED_PATH="" + +use guix -l guix-dev.scm + +export GUILE_LOAD_COMPILED_PATH="$PWD:$PWD/tests:$GUILE_LOAD_COMPILED_PATH" +export GUILE_LOAD_PATH="$PWD:$GUILE_LOAD_PATH" +export PATH="$PWD/scripts:$PATH" + +if [ -f .local.envrc ]; then + source_env .local.envrc +fi diff --git a/guix-dev.scm b/guix-dev.scm new file mode 100644 index 0000000..24223a1 --- /dev/null +++ b/guix-dev.scm @@ -0,0 +1,73 @@ +;;; guix-build-coordinator +;;; +;;; Copyright © 2020 Christopher Baines <mail@cbaines.net> +;;; +;;; This file is part of the guix-build-coordinator. +;;; +;;; guix-data-service is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or +;;; (at your option) any later version. +;;; +;;; guix-data-service is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;;; General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with the guix-data-service. If not, see +;;; <http://www.gnu.org/licenses/>. + +;;; Run the following command to enter a development environment for +;;; the guix-build-coordinator: +;;; +;;; $ guix environment -l guix-dev.scm + +(use-modules ((guix licenses) #:prefix license:) + (guix packages) + (guix download) + (guix git-download) + (guix utils) + (guix build-system gnu) + (gnu packages) + (gnu packages autotools) + (gnu packages databases) + (gnu packages gnupg) + (gnu packages guile) + (gnu packages guile-xyz) + (gnu packages package-management) + (gnu packages perl) + (gnu packages pkg-config) + (gnu packages ruby) + (gnu packages sqlite) + (gnu packages texinfo) + (srfi srfi-1)) + +(package + (name "guix-build-coordinator") + (version "0.0.0") + (source #f) + (build-system gnu-build-system) + (inputs + `(("guix" ,guile3.0-guix) + ("guile-json" ,guile3.0-json) + ("guile-squee" ,guile3.0-squee) + ("guile-fibers" ,guile3.0-fibers) + ("guile-gcrypt" ,guile3.0-gcrypt) + ("guile-readline" ,guile3.0-readline) + ("guile" ,guile-next) + ("postgresql" ,postgresql) + ("sqlite" ,sqlite) + ("perl" ,perl) + ("sqitch" ,sqitch) + ("perl-dbd-sqlite" ,perl-dbd-sqlite))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("ephemeralpg" ,ephemeralpg) + ("pkg-config" ,pkg-config) + ("ruby-rerun" ,ruby-rerun))) + (synopsis "TODO") + (description "TODO") + (home-page "TODO") + (license license:gpl3+)) |