haskellPackages.pg-client: Enable tests
This commit is contained in:
parent
e77e09c5d2
commit
5388103926
@ -1515,8 +1515,13 @@ self: super: {
|
|||||||
};
|
};
|
||||||
pg-client = overrideCabal (drv: {
|
pg-client = overrideCabal (drv: {
|
||||||
librarySystemDepends = with pkgs; [ postgresql krb5.dev openssl.dev ];
|
librarySystemDepends = with pkgs; [ postgresql krb5.dev openssl.dev ];
|
||||||
# wants a running DB to check against
|
testToolDepends = drv.testToolDepends or [] ++ [
|
||||||
doCheck = false;
|
pkgs.postgresql pkgs.postgresqlTestHook
|
||||||
|
];
|
||||||
|
preCheck = drv.preCheck or "" + ''
|
||||||
|
# empty string means use default connection
|
||||||
|
export DATABASE_URL=""
|
||||||
|
'';
|
||||||
}) (super.pg-client.override {
|
}) (super.pg-client.override {
|
||||||
resource-pool = self.hasura-resource-pool;
|
resource-pool = self.hasura-resource-pool;
|
||||||
ekg-core = self.hasura-ekg-core;
|
ekg-core = self.hasura-ekg-core;
|
||||||
|
Loading…
Reference in New Issue
Block a user