40 (config.nixos // {key = "attr<fleet.nixos>";})41 (config.nixos // {key = "attr<fleet.nixos>";})
41 ];42 ];
42 specialArgs = {43 specialArgs = {
43 inherit fleetLib inputs;44 inherit fleetLib inputs self;
44 inputs' = mapAttrs (inputName: input:45 inputs' = mapAttrs (inputName: input:
45 builtins.addErrorContext "while retrieving system-dependent attributes for input ${escapeNixIdentifier inputName}"46 builtins.addErrorContext "while retrieving system-dependent attributes for input ${escapeNixIdentifier inputName}"
46 (47 (
49 else "input is not a flake, perhaps flake = false was added to te input declaration?"50 else "input is not a flake, perhaps flake = false was added to te input declaration?"
50 ))51 ))
51 inputs;52 inputs;
53 self' = builtins.addErrorContext "while retrieving system-dependent attributes for a flake's own outputs" (_fleetFlakeRootConfig.perInput system self);
52 };54 };
53 };55 };
54 };56 };