From a95d39923e49611579b71587745886c448600f31 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Thu, 26 Jun 2025 15:21:49 +0200 Subject: [PATCH] chore: buildClan warn access without .config prefix Makes behavior consistent with nixosSystem, nixpkgs. Alows access to options and other eval modules results Needed for error tracking and better devx --- lib/modules/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/modules/default.nix b/lib/modules/default.nix index 89aec96f2..37ded431a 100644 --- a/lib/modules/default.nix +++ b/lib/modules/default.nix @@ -65,5 +65,9 @@ rec { ]; }; in - result.config; + # Remove result.config in 26. July + result + // (lib.mapAttrs ( + n: v: lib.warn "buildClan output: Use 'config.${n}' instead of '${n}'" v + ) result.config); }