mirror of
https://github.com/juspay/services-flake.git
synced 2024-09-11 12:26:04 +03:00
refactor: overlays for packages in test flake (#120)
Avoid test flake clutter; separate overlay for each package.
This commit is contained in:
parent
b4275fc8bf
commit
9cdee29122
@ -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
|
||||
|
3
test/overlays/default.nix
Normal file
3
test/overlays/default.nix
Normal file
@ -0,0 +1,3 @@
|
||||
[
|
||||
(import ./pgadmin.nix)
|
||||
]
|
4
test/overlays/pgadmin.nix
Normal file
4
test/overlays/pgadmin.nix
Normal 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; });
|
||||
}
|
Loading…
Reference in New Issue
Block a user