From af9f635a5a872b959f1b3eb19d95531fb0735ca8 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 27 May 2020 17:34:14 +0200 Subject: [PATCH] Use PostgreSQL 11 This is what we use for hydra.nixos.org. --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 2611bd01..4f847bb8 100644 --- a/flake.nix +++ b/flake.nix @@ -105,7 +105,7 @@ gitAndTools.topGit mercurial darcs subversion bazaar openssl bzip2 libxslt perlDeps perl final.nix boost - postgresql95 + postgresql_11 (if lib.versionAtLeast lib.version "20.03pre" then nlohmann_json else nlohmann_json.override { multipleHeaders = true; }) @@ -308,7 +308,7 @@ systemd.services.hydra-send-stats.enable = false; 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: # [error] Caught exception in engine "Cannot determine local time zone"