diff options
Diffstat (limited to 'ctftilde/guix-devshell')
-rwxr-xr-x | ctftilde/guix-devshell | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/ctftilde/guix-devshell b/ctftilde/guix-devshell new file mode 100755 index 0000000..547f313 --- /dev/null +++ b/ctftilde/guix-devshell @@ -0,0 +1,26 @@ +#!/bin/sh + +# SPDX-License-Identifier: CC0-1.0 +# +# Copyright (C) 2023 Wojtek Kosior <koszko@koszko.org> + +set -e + +# Guile and its libraries +PACKAGES="guile guile-lib guile-cantius" +# build system dependencies +PACKAGES="$PACKAGES make reuse autoconf automake pkg-config gettext" +PACKAGES="$PACKAGES lawrence-boilerplate" +# tools for compiling auxiliary resource files +PACKAGES="$PACKAGES imagemagick inkscape" +# documentation viewers — for developer's convenience +PACKAGES="$PACKAGES texinfo man-db" + +if test 0 = "$#" +then : + printf 'guix shell %s\n' "$PACKAGES" + guix shell $PACKAGES +else : + printf 'guix shell %s -- %s\n' "$PACKAGES" "$*" + guix shell $PACKAGES -- "$@" +fi |