nixos/postgresql: switch default 9.6 -> 11
This is designed for 19.09 release.
This commit is contained in:
parent
970145f051
commit
fb863fceea
@ -33,6 +33,13 @@
|
|||||||
PHP 7.1 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 19.09 release.
|
PHP 7.1 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 19.09 release.
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Postgresql for NixOS service now defaults to v11. <literal>pkgs.postgresql</literal> is still 9.6, but
|
||||||
|
may be updated in future release. To prevent future update problems replace <literal>pkgs.postgresql</literal>
|
||||||
|
with an explicitly versioned <literal>pkgs.postgresql_9_6</literal>.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
The binfmt module is now easier to use. Additional systems can
|
The binfmt module is now easier to use. Additional systems can
|
||||||
|
@ -226,7 +226,8 @@ in
|
|||||||
# Note: when changing the default, make it conditional on
|
# Note: when changing the default, make it conditional on
|
||||||
# ‘system.stateVersion’ to maintain compatibility with existing
|
# ‘system.stateVersion’ to maintain compatibility with existing
|
||||||
# systems!
|
# systems!
|
||||||
mkDefault (if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
|
mkDefault (if versionAtLeast config.system.stateVersion "19.09" 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 if versionAtLeast config.system.stateVersion "16.03" then pkgs.postgresql_9_5
|
||||||
else throw "postgresql_9_4 was removed, please upgrade your postgresql version.");
|
else throw "postgresql_9_4 was removed, please upgrade your postgresql version.");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user