mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-19 08:17:11 +03:00
40 lines
1.0 KiB
Nix
40 lines
1.0 KiB
Nix
{
|
|
outputs = _: {
|
|
processComposeModules.default = ./nix;
|
|
|
|
templates.default = {
|
|
description = "Example flake using process-compose-flake";
|
|
path = builtins.path { path = ./example/simple; filter = path: _: baseNameOf path == "flake.nix"; };
|
|
};
|
|
|
|
lib = import ./nix/lib.nix;
|
|
|
|
# Config for https://github.com/srid/nixci
|
|
# To run this, `nix run github:srid/nixci`
|
|
nixci.default = let overrideInputs = { "services-flake" = ./.; }; in {
|
|
simple-example = {
|
|
inherit overrideInputs;
|
|
dir = "./example/simple";
|
|
};
|
|
share-services-example = {
|
|
overrideInputs = {
|
|
inherit (overrideInputs) services-flake;
|
|
northwind = ./example/share-services/northwind;
|
|
};
|
|
dir = "./example/share-services/pgweb";
|
|
};
|
|
test = {
|
|
inherit overrideInputs;
|
|
dir = "./test";
|
|
};
|
|
dev = {
|
|
inherit overrideInputs;
|
|
dir = "./dev";
|
|
};
|
|
doc = {
|
|
dir = "./doc";
|
|
};
|
|
};
|
|
};
|
|
}
|