Nix.hs calls pg_ctl, which is installed by postgresql, so postgresql should be added to the build-depends in cabal.
Nix.hs calls pg_ctl, which is installed by postgresql, so postgresql should be added to the build-depends in cabal.