From 6ceaeeb714b97984190981110120973d90d57ab4 Mon Sep 17 00:00:00 2001 From: seth Date: Fri, 24 May 2024 04:50:12 -0400 Subject: flatten structure again --- parts/ci.nix | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 parts/ci.nix (limited to 'parts/ci.nix') diff --git a/parts/ci.nix b/parts/ci.nix deleted file mode 100644 index ba26af5..0000000 --- a/parts/ci.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ - lib, - self, - withSystem, - ... -}: let - ciSystem = "x86_64-linux"; - derivFromCfg = deriv: deriv.config.system.build.toplevel or deriv.activationPackage; - mapCfgsToDerivs = lib.mapAttrs (lib.const derivFromCfg); -in { - flake.hydraJobs = withSystem ciSystem ({ - pkgs, - self', - ... - }: { - inherit (self') checks; - inherit (self') devShells; - darwinConfigurations = mapCfgsToDerivs self.darwinConfigurations; - homeConfigurations = mapCfgsToDerivs self.homeConfigurations; - nixosConfigurations = - mapCfgsToDerivs self.nixosConfigurations - // { - # please add aarch64 runners github...please... - atlas = lib.deepSeq (derivFromCfg self.nixosConfigurations.atlas).drvPath pkgs.emptyFile; - }; - }); -} -- cgit v1.2.3