diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-12 13:18:35 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2016-02-12 13:20:11 +0100 |
commit | fd8bd17c3e393185533c2c87008e17546e72c404 (patch) | |
tree | 7683e8e432a016bb38e08f606d61cfc6a1ab4979 /nixos | |
parent | 5e6962ff2eba9142280f9a8be4ca40c6272af584 (diff) | |
download | nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.tar nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.tar.gz nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.tar.bz2 nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.tar.lz nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.tar.xz nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.tar.zst nixpkgs-fd8bd17c3e393185533c2c87008e17546e72c404.zip |
postgresql: Bump default version to 9.5
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/databases/postgresql.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index 957fb4723a5..31ffe51c11e 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -158,7 +158,7 @@ in # Note: when changing the default, make it conditional on # ‘system.stateVersion’ to maintain compatibility with existing # systems! - mkDefault pkgs.postgresql94; + mkDefault (if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql95 else pkgs.postgresql94); services.postgresql.authentication = mkAfter '' |