3
0
Fork 0
forked from mirrors/nixpkgs

move from 19.09 to 20.03

This commit is contained in:
danbst 2019-09-22 12:27:39 +03:00
parent fb863fceea
commit e557ad74ac
3 changed files with 6 additions and 8 deletions

View file

@ -33,13 +33,6 @@
PHP 7.1 is no longer supported due to upstream not supporting this version for the entire lifecycle of the 19.09 release.
</para>
</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>
<para>
The binfmt module is now easier to use. Additional systems can

View file

@ -23,6 +23,11 @@
Support is planned until the end of October 2020, handing over to 20.09.
</para>
</listitem>
<listitem>
<para>
Postgresql for NixOS service now defaults to v11.
</para>
</listitem>
</itemizedlist>
</section>

View file

@ -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.");