mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
feat: warn systems
This commit is contained in:
parent
1e32d03340
commit
6866b698c0
1 changed files with 1 additions and 1 deletions
|
|
@ -9,7 +9,7 @@ with lib; let
|
||||||
inherit (channels.std) string list set;
|
inherit (channels.std) string list set;
|
||||||
enabledNixosSystems = filterAttrs (_: system: system.config.ci.enable && system.config.type == "NixOS") channels.nixfiles.systems;
|
enabledNixosSystems = filterAttrs (_: system: system.config.ci.enable && system.config.type == "NixOS") channels.nixfiles.systems;
|
||||||
exportsSystems = let
|
exportsSystems = let
|
||||||
warnSystems = set.filter (_: system: system.ci.allowFailure) enabledNixosSystems;
|
warnSystems = set.filter (_: system: system.config.ci.allowFailure) enabledNixosSystems;
|
||||||
toSystems = systems: string.concatMapSep " " string.escapeShellArg (set.keys systems);
|
toSystems = systems: string.concatMapSep " " string.escapeShellArg (set.keys systems);
|
||||||
in ''
|
in ''
|
||||||
NF_NIX_SYSTEMS=(${toSystems enabledNixosSystems})
|
NF_NIX_SYSTEMS=(${toSystems enabledNixosSystems})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue