flake.nix: wrap all hydraJobs with lib.hydraJob

This commit is contained in:
Astro 2022-01-08 21:27:34 +01:00
parent 9b86acecaa
commit 58f6d350ba
1 changed files with 7 additions and 5 deletions

View File

@ -556,11 +556,13 @@
nixosModules.plume = import ./lib/plume.nix { inherit self; };
hydraJobs = forAllSystems (system:
nixpkgs.lib.filterAttrs (_: nixosSystem:
system == nixosSystem.config.system.build.toplevel.system
) self.nixosConfigurations
//
self.packages.${system}
builtins.mapAttrs (_: nixpkgs.lib.hydraJob) (
nixpkgs.lib.filterAttrs (_: nixosSystem:
system == nixosSystem.config.system.build.toplevel.system
) self.nixosConfigurations
//
self.packages.${system}
)
);
};
}