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:
parent
feed0f7253
commit
dd728cd017
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue