From 6d152ef32293d03ccf8373a33d782d1e32649c49 Mon Sep 17 00:00:00 2001 From: TakeV Date: Wed, 13 Dec 2023 09:42:00 -0500 Subject: [PATCH] Add helper script to launch the dev shell --- hall.scm | 5 ++++- manifest.scm | 2 +- scripts/launch-dev-shell | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 scripts/launch-dev-shell diff --git a/hall.scm b/hall.scm index 8099cc8..e3a8fd5 100644 --- a/hall.scm +++ b/hall.scm @@ -16,7 +16,10 @@ ((scheme-file "docs") (scheme-file "reflection"))) (scheme-file "guile-docs"))) (tests ()) - (programs ()) + (programs + ((directory + "scripts" + ((text-file "launch-dev-shell"))))) (documentation ((directory "doc" ((texi-file "guile-docs"))) (text-file "COPYING") diff --git a/manifest.scm b/manifest.scm index 84bb2cc..90a123c 100644 --- a/manifest.scm +++ b/manifest.scm @@ -2,4 +2,4 @@ ;; You can store it in a file that you may then pass to any 'guix' command ;; that accepts a '--manifest' (or '-m') option. -(specifications->manifest (list "guix" "git")) +(specifications->manifest (list "guile-hall" "guix" "git")) diff --git a/scripts/launch-dev-shell b/scripts/launch-dev-shell new file mode 100755 index 0000000..ab10515 --- /dev/null +++ b/scripts/launch-dev-shell @@ -0,0 +1,3 @@ +#!/bin/sh + +guix shell -Df guix.scm -m manifest.scm "$@" \ No newline at end of file