diff options
| author | seth <[email protected]> | 2023-12-13 15:39:09 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-13 15:42:21 -0500 |
| commit | faa11c9d45949922555bf82dda77804828193fa3 (patch) | |
| tree | 4e21f4d6800e3c2a451a047cdd4365d937cef32c /ci.nix | |
| parent | 109114703b42ba17c8f2a4a347bd4a9ecd1e82d5 (diff) | |
systems: nixinate -> deploy-rs (again (again))
nixinate just hangs as of 163daad93da692fc280036b80f29ca9b65c005d4
Diffstat (limited to 'ci.nix')
| -rw-r--r-- | ci.nix | 23 |
1 files changed, 14 insertions, 9 deletions
@@ -14,15 +14,20 @@ (lib.filterAttrs (_: v: v.pkgs.system == system)) (lib.mapAttrsToList (_: v: v.config.system.build.toplevel or v.activationPackage)) ]; + + required = lib.concatLists [ + systems + # and other checks + (builtins.attrValues (builtins.removeAttrs config.checks ["ciGate"])) + ]; + + paths = + builtins.foldl' ( + acc: deriv: + acc // {${deriv.pname or deriv.name} = deriv.path or deriv.outPath;} + ) {} + required; in { - checks = { - ciGate = pkgs.runCommand "ci-gate" { - nativeBuildInputs = lib.concatLists [ - systems - # and other checks - (builtins.attrValues (builtins.removeAttrs config.checks ["ciGate"])) - ]; - } "touch $out"; - }; + packages.ciGate = pkgs.linkFarm "ci-gate" paths; }; } |
