postgresql: enable pre-install checks

This commit is contained in:
Robert Scott 2019-05-12 20:40:22 +01:00
parent ab18644e3d
commit d7f36ecb3d

View file

@ -101,6 +101,10 @@ let
wrapProgram $out/bin/initdb --prefix PATH ":" ${glibc.bin}/bin
'';
doCheck = true;
# autodetection doesn't seem to able to find this, but it's there.
checkTarget = "check";
doInstallCheck = false; # needs a running daemon?
disallowedReferences = [ stdenv.cc ];