diff --git a/lib/build-clan/module.nix b/lib/build-clan/module.nix index a72c00c41..1e7e7d338 100644 --- a/lib/build-clan/module.nix +++ b/lib/build-clan/module.nix @@ -122,7 +122,16 @@ in (lib.mapAttrs ( name: v: ( - { _class, ... }: + { ... }@args: + let + _class = + args._class or (throw '' + Your version of nixpkgs is incompatible with the latest clan. + Please update nixpkgs input to the latest nixos-unstable or nixpkgs-unstable. + Run: + nix flake update nixpkgs + ''); + in { imports = [ (lib.modules.importApply ./machineModules/forName.nix {