diff options
| author | seth <[email protected]> | 2023-12-10 08:56:11 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-12-11 08:44:48 -0500 |
| commit | ad840d3fab4d2e8dc27d265bbc0a08ed7e85c3a5 (patch) | |
| tree | 2db39df327e5b9621fd41f1d8d1a8ac3dac8ceb6 /ci.nix | |
| parent | 8ac8de2593a9f5e3c160f95358b4db75d3a04640 (diff) | |
ci: use gha & attic for building/caching
Diffstat (limited to 'ci.nix')
| -rw-r--r-- | ci.nix | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -1,28 +0,0 @@ -{self, ...}: { - perSystem = { - lib, - pkgs, - system, - config, - ... - }: let - # get applicable system configurations - configurations = lib.getAttrs ["darwinConfigurations" "homeConfigurations" "nixosConfigurations"] self; - - systems = lib.pipe (builtins.attrValues configurations) [ - (builtins.foldl' (acc: attr: acc // attr) {}) - (lib.filterAttrs (_: v: v.pkgs.system == system)) - (lib.mapAttrsToList (_: v: v.config.system.build.toplevel or v.activationPackage)) - ]; - in { - checks = { - ciGate = pkgs.runCommand "ci-gate" { - nativeBuildInputs = lib.concatLists [ - systems - # and other checks - (builtins.attrValues (builtins.removeAttrs config.checks ["ciGate"])) - ]; - } "touch $out"; - }; - }; -} |
