ci-root: fix grafana-packages in a hacky way
This commit is contained in:
parent
b2d8acd4b9
commit
214d81f198
1 changed files with 3 additions and 2 deletions
|
@ -8,7 +8,8 @@ let
|
||||||
lib = pkgs.lib;
|
lib = pkgs.lib;
|
||||||
prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; });
|
prefixAttrs = prefix: lib.mapAttrsToList (name: value: { name = "${prefix}-${name}"; path = value; });
|
||||||
ciMachines = prefixAttrs "machine" depot.ops.nixos.systems;
|
ciMachines = prefixAttrs "machine" depot.ops.nixos.systems;
|
||||||
ciPackages = prefixAttrs "pkg" depot.nix.pkgs;
|
ciPackages = prefixAttrs "pkg" (builtins.removeAttrs depot.nix.pkgs [ "grafana-plugins" ]);
|
||||||
|
ciGrafanaPlugins = prefixAttrs "pkg-grafana-plugins" depot.nix.pkgs.grafana-plugins;
|
||||||
ciDocker = prefixAttrs "docker" ((import ./docker-images.nix).images);
|
ciDocker = prefixAttrs "docker" ((import ./docker-images.nix).images);
|
||||||
|
|
||||||
ciOther = prefixAttrs "other" {
|
ciOther = prefixAttrs "other" {
|
||||||
|
@ -16,5 +17,5 @@ let
|
||||||
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
|
twitterchiver-archiver-docker = depot.go.twitterchiver.archiver.dockerImage;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciDocker ++ ciOther)
|
pkgs.linkFarm "ci" (ciMachines ++ ciPackages ++ ciGrafanaPlugins ++ ciDocker ++ ciOther)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue