From ae7709def86897e0405c5508dad067bb6aae7abb Mon Sep 17 00:00:00 2001 From: Robert Hensing Date: Mon, 27 Oct 2025 14:59:29 +0100 Subject: [PATCH] doc: Render declarations without the deferredModule indirection deferredModule sets a fake `file` with "via option ...", which interferes with rendering on flake.parts. --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index f752825..7414299 100644 --- a/flake.nix +++ b/flake.nix @@ -30,6 +30,7 @@ ... }: { + _file = ./flake.nix; options.perSystem = flake-parts-lib.mkPerSystemOption ( { config, pkgs, ... }: let @@ -115,6 +116,7 @@ # Consumer toplevel { options, config, ... }: { + _file = ./flake.nix; imports = [ flake-parts-modules.basic ]; config.perSystem = # Consumer perSystem