From 1d3557d67b917db2bdcf0953e4b8eb37bb4db804 Mon Sep 17 00:00:00 2001 From: Thomas SharedInbox Date: Wed, 13 May 2026 09:42:06 +0200 Subject: [PATCH] fix: drop nested nix develop in website-build to preserve env vars HUGO_PARAMS_GITVERSION was stripped when website-build called 'nix develop --command hugo' from within an already-active nix shell (nested nix develop resets the environment). Hugo is already on PATH from the outer 'nix develop --command task website-deploy' in CI, and locally tasks run from within 'nix develop' per AGENTS.md convention. Co-Authored-By: Claude Sonnet 4.6 --- Taskfile.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Taskfile.yml b/Taskfile.yml index 12ebf7c..27c5c3c 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -334,7 +334,7 @@ tasks: HUGO_PARAMS_GITVERSION: sh: git rev-parse --short HEAD cmds: - - nix develop --command hugo --source website --minify + - hugo --source website --minify website-verify: desc: Check that the deployed site serves the current git version