error on nixops4 apply: class mismatch on import of infra/common/options.nix #408

Closed
opened 2025-06-26 17:23:56 +02:00 by kiara · 0 comments
Owner

The module /nix/store/.../infra/common/options.nix (class: "nixops4Resource") cannot be imported into a module evaluation that expects class "nixos".

this file seems tagged with class nixops4Resource due to its import from infra/common/resource.nix, whereas it is also imported from services/fediversity/*/default.nix, which instead are tagged with class nixos.

> The module `/nix/store/.../infra/common/options.nix` (class: "nixops4Resource") cannot be imported into a module evaluation that expects class "nixos". this file seems tagged with class `nixops4Resource` due to its import from `infra/common/resource.nix`, whereas it is also imported from `services/fediversity/*/default.nix`, which instead are tagged with class `nixos`.
kiara added the
bug
label 2025-06-26 17:23:56 +02:00
kiara closed this issue 2025-07-10 14:52:17 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: fediversity/fediversity#408
No description provided.