diff options
Diffstat (limited to 'dev/ci.nix')
| -rw-r--r-- | dev/ci.nix | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev/ci.nix b/dev/ci.nix deleted file mode 100644 index e33c088..0000000 --- a/dev/ci.nix +++ /dev/null @@ -1,28 +0,0 @@ -{ - lib, - self, - ... -}: { - flake.hydraJobs = let - ciSystems = ["x86_64-linux"]; - - getOutputs = lib.getAttrs ciSystems; - - mapCfgsToDerivs = lib.mapAttrs (_: cfg: cfg.activationPackage or cfg.config.system.build.toplevel); - getCompatibleCfgs = lib.filterAttrs (_: cfg: lib.elem cfg.pkgs.system ciSystems); - in - builtins.foldl' lib.recursiveUpdate {} [ - ( - lib.genAttrs - ["nixosConfigurations" "homeConfigurations"] - ( - type: mapCfgsToDerivs (getCompatibleCfgs self."${type}") - ) - ) - ( - lib.genAttrs - ["checks" "devShells"] - (type: getOutputs self.${type}) - ) - ]; -} |
