aboutsummaryrefslogtreecommitdiff
path: root/bwrap-files/workdir/entry.sh
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2025-01-06 21:28:36 +0100
committerTom Smeding <tom@tomsmeding.com>2025-01-06 21:28:36 +0100
commitdb075620db9e9da77276f0999b9cb09502920ab3 (patch)
tree45ee55447617442605d5a1f96d38d5c372cbc058 /bwrap-files/workdir/entry.sh
parente5ef33adc831b0176f39b81ca8913108ef9c30fe (diff)
Add :version command
Diffstat (limited to 'bwrap-files/workdir/entry.sh')
-rwxr-xr-xbwrap-files/workdir/entry.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bwrap-files/workdir/entry.sh b/bwrap-files/workdir/entry.sh
index 61c09d5..436ba64 100755
--- a/bwrap-files/workdir/entry.sh
+++ b/bwrap-files/workdir/entry.sh
@@ -14,6 +14,9 @@ else
versionargs=()
fi
+# Inform yahb2 about the GHC version we're using
+echo "yahb2-ghci-version=$($ghcup run "${versionargs[@]}" -- ghci --numeric-version)"
+
$ghcup run "${versionargs[@]}" -- ghci Yahb2Defs.hs 2>&1
# vim: set sw=2 ts=8 et: