refactor: overlays for packages in test flake (#120)

Avoid test flake clutter; separate overlay for each package.
This commit is contained in:
Shivaraj B H 2024-03-06 08:06:25 +05:30 committed by GitHub
parent b4275fc8bf
commit 9cdee29122
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 6 deletions

View File

@ -17,12 +17,7 @@
inherit system;
# Required for elastic search
config.allowUnfree = true;
overlays = [
(final: prev: {
# Because tests are failing on darwin: https://github.com/juspay/services-flake/pull/115#issuecomment-1970467684
pgadmin4 = prev.pgadmin4.overrideAttrs (_: { doInstallCheck = false; });
})
];
overlays = import ./overlays;
};
process-compose =
let

View File

@ -0,0 +1,3 @@
[
(import ./pgadmin.nix)
]

View File

@ -0,0 +1,4 @@
final: prev: {
# Because tests are failing on darwin: https://github.com/juspay/services-flake/pull/115#issuecomment-1970467684
pgadmin4 = prev.pgadmin4.overrideAttrs (_: { doInstallCheck = false; });
}