services-flake/test/flake.nix
Sridhar Ratnakumar 85a89560b6 Revert "dev flake: check example and tests"
This reverts commit 05345eaab7.
2023-07-10 19:36:14 -04:00

33 lines
971 B
Nix

{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
flake-parts.url = "github:hercules-ci/flake-parts";
systems.url = "github:nix-systems/default";
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
services-flake.url = "github:juspay/services-flake";
};
outputs = inputs:
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
systems = import inputs.systems;
imports = [
inputs.process-compose-flake.flakeModule
];
perSystem = { self', pkgs, lib, ... }: {
process-compose = {
postgres = {
imports = [
inputs.services-flake.processComposeModules.default
../nix/postgres_test.nix
];
};
redis = {
imports = [
inputs.services-flake.processComposeModules.default
../nix/redis_test.nix
];
};
};
};
};
}