Use PostgreSQL 11

This is what we use for hydra.nixos.org.
This commit is contained in:
Eelco Dolstra 2020-05-27 17:34:14 +02:00
parent a1e08d8819
commit af9f635a5a
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -105,7 +105,7 @@
gitAndTools.topGit mercurial darcs subversion bazaar openssl bzip2 libxslt gitAndTools.topGit mercurial darcs subversion bazaar openssl bzip2 libxslt
perlDeps perl final.nix perlDeps perl final.nix
boost boost
postgresql95 postgresql_11
(if lib.versionAtLeast lib.version "20.03pre" (if lib.versionAtLeast lib.version "20.03pre"
then nlohmann_json then nlohmann_json
else nlohmann_json.override { multipleHeaders = true; }) else nlohmann_json.override { multipleHeaders = true; })
@ -308,7 +308,7 @@
systemd.services.hydra-send-stats.enable = false; systemd.services.hydra-send-stats.enable = false;
services.postgresql.enable = true; services.postgresql.enable = true;
services.postgresql.package = pkgs.postgresql95; services.postgresql.package = pkgs.postgresql_11;
# The following is to work around the following error from hydra-server: # The following is to work around the following error from hydra-server:
# [error] Caught exception in engine "Cannot determine local time zone" # [error] Caught exception in engine "Cannot determine local time zone"