10 lines
337 B
Nix
10 lines
337 B
Nix
let
|
|
depot = (import ./default.nix {});
|
|
pkgs = depot.third_party.nixpkgs;
|
|
lib = pkgs.lib;
|
|
prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; });
|
|
ciMachines = prefixAttrs "machine" depot.ops.nixos;
|
|
ciPackages = prefixAttrs "pkg" depot.nix.pkgs;
|
|
in
|
|
pkgs.linkFarm "ci" ciMachines
|
|
|