build: load dotenv in Guix dev shell

Source the repo .env before entering the pinned Guix shell so Guix fallback commands match the devenv environment more closely.
This commit is contained in:
2026-06-01 16:33:13 +02:00
parent 3bc16c7cb5
commit 742359c2cb
+6
View File
@@ -16,5 +16,11 @@ if [ ! -f "$channels" ] || [ ! -f "$manifest" ]; then
exit 1
fi
if [ -f "$root/.env" ]; then
set -a
. "$root/.env"
set +a
fi
exec guix time-machine -C "$channels" -- \
shell -m "$manifest" "$@"