2020-06-07 14:03:12 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2020-05-09 10:14:07 +00:00
|
|
|
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
|
2020-05-09 12:09:29 +00:00
|
|
|
pkgs.linkFarm "ci" (ciMachines ++ ciPackages)
|
2020-05-09 10:14:07 +00:00
|
|
|
|