diff options
author | W. Kosior <koszko@koszko.org> | 2024-05-18 01:00:12 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-05-18 01:00:22 +0200 |
commit | 2b55cf92033ed02cabd545540241585e05f1fbb0 (patch) | |
tree | 9da86016dea518287552b56aaf457da970d4220f /ctftilde/guix-devshell | |
download | AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.tar.gz AGH-ctf-course-2024-2b55cf92033ed02cabd545540241585e05f1fbb0.zip |
Initial commit.
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 |