summaryrefslogtreecommitdiff
path: root/hydraJobs.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-30 09:56:30 -0400
committerseth <[email protected]>2024-06-30 10:23:04 -0400
commit088facf700946cb8f2d96c6089185bdc2a67180a (patch)
treec5b4e4cffbb3ee4ad2498c2251892bd457e9d3c7 /hydraJobs.nix
parent5d3045a0769af3a94fba7b5cf646e8498aaef595 (diff)
alejandra -> nixfmt-rfc-style
Diffstat (limited to 'hydraJobs.nix')
-rw-r--r--hydraJobs.nix29
1 files changed, 14 insertions, 15 deletions
diff --git a/hydraJobs.nix b/hydraJobs.nix
index ba26af5..9cc4617 100644
--- a/hydraJobs.nix
+++ b/hydraJobs.nix
@@ -3,25 +3,24 @@
self,
withSystem,
...
-}: let
+}:
+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
- // {
+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;
};
- });
+ }
+ );
}