#!/bin/bash # # run with options '-- ./webserver.scm 8091' e.g. # . .guix-shell -- guile -L .. --fresh-auto-compile --listen=1970 -e main ./webserver.scm 8091 echo "Create a shell to run tools. In the container" echo "mkdir /usr/bin -p" echo "ln -s \$GUIX_ENVIRONMENT/bin/env /usr/bin/env" guix shell -C -F --network coreutils guile guile-dbi guile-dbd-mysql guile-fibers guile-json guile-gnutls guile-readline guile-redis openssl nss-certs $*