haskellPackages.tmp-postgres: fix test suite
Was failing before when trying to create files in `$HOME` and marked as broken subsequently.
This commit is contained in:
@@ -787,6 +787,9 @@ self: super: {
|
||||
|
||||
# Needs pginit to function and pgrep to verify.
|
||||
tmp-postgres = overrideCabal super.tmp-postgres (drv: {
|
||||
preCheck = ''
|
||||
export HOME="$TMPDIR"
|
||||
'' + (drv.preCheck or "");
|
||||
libraryToolDepends = drv.libraryToolDepends or [] ++ [pkgs.postgresql];
|
||||
testToolDepends = drv.testToolDepends or [] ++ [pkgs.procps];
|
||||
});
|
||||
|
||||
@@ -4755,7 +4755,6 @@ broken-packages:
|
||||
- Titim
|
||||
- tkhs
|
||||
- tkyprof
|
||||
- tmp-postgres
|
||||
- todo
|
||||
- tofromxml
|
||||
- to-haskell
|
||||
|
||||
@@ -262697,8 +262697,6 @@ self: {
|
||||
];
|
||||
description = "Start and stop a temporary postgres";
|
||||
license = lib.licenses.bsd3;
|
||||
hydraPlatforms = lib.platforms.none;
|
||||
broken = true;
|
||||
}) {};
|
||||
|
||||
"tmpl" = callPackage
|
||||
|
||||
Reference in New Issue
Block a user