spook

A "game" for the 2023 Autumn Lisp Game Jam. Won first place! (from the bottom...)
git clone https://kaka.farm/~git/spook
Log | Files | Refs | LICENSE

chicken-guix (862B)


      1 #!/bin/sh
      2 
      3 # SPDX-FileCopyrightText: 2023 Yuval Langer <yuvallangerontheroad@gmail.com>
      4 #
      5 # SPDX-License-Identifier: AGPL-3.0-or-later
      6 
      7 if [ -z "$(command -v guix)" ] ; then
      8     printf "%s\n" \
      9            "What are you doing here, kid?!
     10 You don't even have Guix installed!
     11 Come back once it's installed:
     12 https://guix.gnu.org/";
     13     exit 1;
     14 fi
     15 
     16 mkdir -p "$HOME/chicken-guix/home"
     17 
     18 env CHICKEN_INCLUDE_PATH="$HOME/chicken" \
     19     CHICKEN_INSTALL_PREFIX="$HOME/chicken" \
     20     CHICKEN_INSTALL_REPOSITORY="$HOME/chicken" \
     21     CHICKEN_REPOSITORY_PATH="$HOME/chicken" \
     22     PATH="$HOME/chicken/bin:$PATH" \
     23     guix shell \
     24     --container \
     25     --emulate-fhs \
     26     --manifest="$HOME/chicken-guix/home/spook/manifest.scm" \
     27     --network \
     28     --no-cwd \
     29     --preserve="(^CHICKEN_|^TERM$|^PATH$)" \
     30     --pure \
     31     --share="$HOME/chicken-guix/home/=$HOME" \
     32     "$@"