aboutsummaryrefslogtreecommitdiff
path: root/scripts/precompute/.guix-shell
diff options
context:
space:
mode:
authorPjotr Prins2023-11-10 11:13:01 +0100
committerPjotr Prins2023-11-10 11:13:01 +0100
commit0e29ab17e14d1d58905ae708ac48acb0e47cbd86 (patch)
treee695518a49b1ea087376ce341a2d903de94c142d /scripts/precompute/.guix-shell
parent4b5ec2a5709404feb51ccc3900c0770ba81929bf (diff)
downloadgn-guile-0e29ab17e14d1d58905ae708ac48acb0e47cbd86.tar.gz
Preparing for precompute runner
Diffstat (limited to 'scripts/precompute/.guix-shell')
-rw-r--r--scripts/precompute/.guix-shell10
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/precompute/.guix-shell b/scripts/precompute/.guix-shell
new file mode 100644
index 0000000..08c74f9
--- /dev/null
+++ b/scripts/precompute/.guix-shell
@@ -0,0 +1,10 @@
+#!/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 $*