From 83a45b8abc413f170ed11f32c8d04884742f38bc Mon Sep 17 00:00:00 2001 From: Philipp Herzog Date: Thu, 29 Aug 2024 11:10:35 +0200 Subject: [PATCH] [FC-40064] skip serializing instances ci was broken for the nixos module context because it tried to serialize all instances of the test component, one of which did not have a loaded environment which is why it was missing the deployment_base attribute --- src/batou_ext/nix.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/batou_ext/nix.py b/src/batou_ext/nix.py index 742c334..d357ef3 100644 --- a/src/batou_ext/nix.py +++ b/src/batou_ext/nix.py @@ -630,7 +630,7 @@ def component_to_nix(component: Component): pass elif inspect.ismethod(value) or inspect.isgenerator(value): pass - elif name in ("sub_components", "changed"): + elif name in ("sub_components", "changed", "instances"): pass elif isinstance(value, NixOSModuleContext): pass