infra/ci.nix

11 lines
445 B
Nix
Raw Normal View History

2020-04-18 00:12:32 +02:00
# Add derivations to be built from the cache to this file
2021-12-23 21:15:46 +01:00
{ system ? builtins.currentSystem
, src ? { ref = null; }
}:
2020-04-18 00:12:32 +02:00
let
2022-04-10 22:29:46 +02:00
self = builtins.getFlake (toString ./.);
nixpkgs = self.inputs.nixpkgs;
effects = self.inputs.hercules-ci-effects.lib.withPkgs nixpkgs.legacyPackages.x86_64-linux;
2020-04-18 00:12:32 +02:00
in
nixpkgs.lib.mapAttrs' (name: config: nixpkgs.lib.nameValuePair "nixos-${name}" config.config.system.build.toplevel) self.outputs.nixosConfigurations