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
This commit is contained in:
Johannes Kirschbauer
2025-06-26 15:21:49 +02:00
parent 48e37b55fc
commit 6b1722d3c3

View File

@@ -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);
}