From dd3705a61419a55fc41b61e6d2bc66519719d77e Mon Sep 17 00:00:00 2001 From: Jakob Ankarhem Date: Mon, 8 Jun 2026 14:22:40 +0200 Subject: [PATCH] last fix --- content/posts/deploying-this-blog.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/content/posts/deploying-this-blog.md b/content/posts/deploying-this-blog.md index 9e4b7ed..ba2efd8 100644 --- a/content/posts/deploying-this-blog.md +++ b/content/posts/deploying-this-blog.md @@ -129,10 +129,12 @@ When deploy-rs runs later, it replaces that symlink with the new build. Next `ni The blog itself is a flake input in `nix-config`: ```nix -blog.url = "git+https://github.com/ankarhem/site?submodules=1"; +blog.url = "git+https://github.com/ankarhem/site"; ``` -The `?submodules=1` is needed because the theme is a git submodule and nix-config needs to actually build the blog package when evaluating the module. +{% alert(type="info", title="No ?submodules=1 needed") %} +The blog's flake already declares `inputs.self.submodules = true`. Since Nix 2.27, this is respected when the flake is consumed as an input. No need to pass `?submodules=1` on the URL. We can't use github:ankarhem/site syntax though, as that doesn't support submodules. +{% end %} ## The GitHub Actions workflow -- 2.51.2