Skip to content

Commit

Permalink
[FC-40064] skip serializing instances
Browse files Browse the repository at this point in the history
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
  • Loading branch information
PhilTaken committed Aug 29, 2024
1 parent fe4a2e0 commit 83a45b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/batou_ext/nix.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 83a45b8

Please sign in to comment.