From 742359c2cb6cf06e88bee038e7198e79ac679d7e Mon Sep 17 00:00:00 2001 From: Agent Zuse Date: Mon, 1 Jun 2026 16:33:13 +0200 Subject: [PATCH] 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. --- guix/guix-dev | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/guix/guix-dev b/guix/guix-dev index c4112d2..86e85d4 100755 --- a/guix/guix-dev +++ b/guix/guix-dev @@ -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" "$@"