diff options
author | danbst <abcz2.uprola@gmail.com> | 2019-09-22 12:27:39 +0300 |
---|---|---|
committer | danbst <abcz2.uprola@gmail.com> | 2019-09-22 12:27:39 +0300 |
commit | e557ad74ac725a56d736a2f900495278770e8fad (patch) | |
tree | ccca07db9b8492bde22eb73ae5916396e65f32e9 /nixos/modules/services/databases/postgresql.nix | |
parent | fb863fceeace07cf4ce8632ccdce6f3614ff9a9d (diff) | |
download | nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.tar nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.tar.gz nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.tar.bz2 nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.tar.lz nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.tar.xz nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.tar.zst nixpkgs-e557ad74ac725a56d736a2f900495278770e8fad.zip |
move from 19.09 to 20.03
Diffstat (limited to 'nixos/modules/services/databases/postgresql.nix')
-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 a19eb820a9c..3bedfe96a18 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -226,7 +226,7 @@ in # Note: when changing the default, make it conditional on # ‘system.stateVersion’ to maintain compatibility with existing # systems! - mkDefault (if versionAtLeast config.system.stateVersion "19.09" then pkgs.postgresql_11 + mkDefault (if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11 else if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6 else if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql_9_5 else throw "postgresql_9_4 was removed, please upgrade your postgresql version."); |