···32 from Python 3.8.
33 </para>
34 </listitem>
35+ <listitem>
36+ <para>
37+ PostgreSQL now defaults to major version 13.
38+ </para>
39+ </listitem>
40 </itemizedlist>
41 </section>
42 <section xml:id="sec-release-21.11-new-services">
+2
nixos/doc/manual/release-notes/rl-2111.section.md
···1112- `python3` now defaults to Python 3.9, updated from Python 3.8.
130014## New Services {#sec-release-21.11-new-services}
1516- [btrbk](https://digint.ch/btrbk/index.html), a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to your backup locations. Available as [services.btrbk](options.html#opt-services.brtbk.instances).
···1112- `python3` now defaults to Python 3.9, updated from Python 3.8.
1314+- PostgreSQL now defaults to major version 13.
15+16## New Services {#sec-release-21.11-new-services}
1718- [btrbk](https://digint.ch/btrbk/index.html), a backup tool for btrfs subvolumes, taking advantage of btrfs specific capabilities to create atomic snapshots and transfer them incrementally to your backup locations. Available as [services.btrbk](options.html#opt-services.brtbk.instances).
+2-1
nixos/modules/services/databases/postgresql.nix
···293 # Note: when changing the default, make it conditional on
294 # ‘system.stateVersion’ to maintain compatibility with existing
295 # systems!
296- mkDefault (if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11
0297 else if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
298 else throw "postgresql_9_5 was removed, please upgrade your postgresql version.");
299
···293 # Note: when changing the default, make it conditional on
294 # ‘system.stateVersion’ to maintain compatibility with existing
295 # systems!
296+ mkDefault (if versionAtLeast config.system.stateVersion "21.11" then pkgs.postgresql_13
297+ else if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11
298 else if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
299 else throw "postgresql_9_5 was removed, please upgrade your postgresql version.");
300
···208 else if targetPlatform.isAlpha then "alpha"
209 else if targetPlatform.isVc4 then "vc4"
210 else if targetPlatform.isOr1k then "or1k"
0211 else if targetPlatform.isRiscV then "lriscv"
212 else throw "unknown emulation for platform: ${targetPlatform.config}";
213 in if targetPlatform.useLLVM or false then ""
···208 else if targetPlatform.isAlpha then "alpha"
209 else if targetPlatform.isVc4 then "vc4"
210 else if targetPlatform.isOr1k then "or1k"
211+ else if targetPlatform.isM68k then "m68k"
212 else if targetPlatform.isRiscV then "lriscv"
213 else throw "unknown emulation for platform: ${targetPlatform.config}";
214 in if targetPlatform.useLLVM or false then ""
+3-1
pkgs/development/compilers/dtc/default.nix
···22 makeFlags = [ "PYTHON=python" ];
23 installFlags = [ "INSTALL=install" "PREFIX=$(out)" "SETUP_PREFIX=$(out)" ];
2425- doCheck = true;
002627 meta = with lib; {
28 description = "Device Tree Compiler";
···22 makeFlags = [ "PYTHON=python" ];
23 installFlags = [ "INSTALL=install" "PREFIX=$(out)" "SETUP_PREFIX=$(out)" ];
2425+ # Checks are broken on aarch64 darwin
26+ # https://github.com/NixOS/nixpkgs/pull/118700#issuecomment-885892436
27+ doCheck = !stdenv.isDarwin;
2829 meta = with lib; {
30 description = "Device Tree Compiler";