···3232 from Python 3.8.
3333 </para>
3434 </listitem>
3535+ <listitem>
3636+ <para>
3737+ PostgreSQL now defaults to major version 13.
3838+ </para>
3939+ </listitem>
3540 </itemizedlist>
3641 </section>
3742 <section xml:id="sec-release-21.11-new-services">
+2
nixos/doc/manual/release-notes/rl-2111.section.md
···11111212- `python3` now defaults to Python 3.9, updated from Python 3.8.
13131414+- PostgreSQL now defaults to major version 13.
1515+1416## New Services {#sec-release-21.11-new-services}
15171618- [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
···293293 # Note: when changing the default, make it conditional on
294294 # ‘system.stateVersion’ to maintain compatibility with existing
295295 # systems!
296296- mkDefault (if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11
296296+ mkDefault (if versionAtLeast config.system.stateVersion "21.11" then pkgs.postgresql_13
297297+ else if versionAtLeast config.system.stateVersion "20.03" then pkgs.postgresql_11
297298 else if versionAtLeast config.system.stateVersion "17.09" then pkgs.postgresql_9_6
298299 else throw "postgresql_9_5 was removed, please upgrade your postgresql version.");
299300
···208208 else if targetPlatform.isAlpha then "alpha"
209209 else if targetPlatform.isVc4 then "vc4"
210210 else if targetPlatform.isOr1k then "or1k"
211211+ else if targetPlatform.isM68k then "m68k"
211212 else if targetPlatform.isRiscV then "lriscv"
212213 else throw "unknown emulation for platform: ${targetPlatform.config}";
213214 in if targetPlatform.useLLVM or false then ""
+3-1
pkgs/development/compilers/dtc/default.nix
···2222 makeFlags = [ "PYTHON=python" ];
2323 installFlags = [ "INSTALL=install" "PREFIX=$(out)" "SETUP_PREFIX=$(out)" ];
24242525- doCheck = true;
2525+ # Checks are broken on aarch64 darwin
2626+ # https://github.com/NixOS/nixpkgs/pull/118700#issuecomment-885892436
2727+ doCheck = !stdenv.isDarwin;
26282729 meta = with lib; {
2830 description = "Device Tree Compiler";
···101101 buildPerlPackage = perlPackages.buildPerlPackage; # added 2018-10-12
102102 buildGo112Package = throw "buildGo112Package has been removed"; # added 2020-04-26
103103 buildGo112Module = throw "buildGo112Module has been removed"; # added 2020-04-26
104104+ buildkite-agent2 = throw "buildkite-agent2 has been discontinued. Please use buildkite-agent (v3.x)"; # added 2018-09-26
105105+ buildkite-agent3 = buildkite-agent; # added 2018-09-26
104106 bundler_HEAD = bundler; # added 2015-11-15
105107 calibre-py2 = throw "calibre-py2 has been removed from nixpkgs, as calibre has upgraded to python 3. Please use calibre as replacement."; # added 2021-01-13
106108 calibre-py3 = throw "calibre-py3 has been removed from nixpkgs, as calibre's default python version is now 3. Please use calibre as replacement."; # added 2021-01-13
···340342 hicolor_icon_theme = hicolor-icon-theme; # added 2018-02-25
341343 ht-rust = xh; # added 2021-02-13
342344 htmlTidy = html-tidy; # added 2014-12-06
345345+ hydra-flakes = throw "hydra-flakes: Flakes support has been merged into Hydra's master. Please use `hydra-unstable` now."; # added 2020-04-06
343346 iana_etc = iana-etc; # added 2017-03-08
344347 icedtea8_web = adoptopenjdk-icedtea-web; # added 2019-08-21
345348 icedtea_web = adoptopenjdk-icedtea-web; # added 2019-08-21
···385388 kino = throw "kino has been removed because it was broken and abandoned"; # added 2021-04-25
386389 krename-qt5 = krename; # added 2017-02-18
387390 kerberos = libkrb5; # moved from top-level 2021-03-14
388388- keymon = throw "keymon has been removed from nixpkgs, as it's abandoned and archived."; # 2019-12-10
391391+ keymon = throw "keymon has been removed from nixpkgs, as it's abandoned and archived."; # added 2019-12-10
389392 kramdown-rfc2629 = rubyPackages.kramdown-rfc2629; # added 2021-03-23
390393 kvm = qemu_kvm; # added 2018-04-25
391394 latinmodern-math = lmmath;
392395 letsencrypt = certbot; # added 2016-05-16
396396+ leksah = throw "To use leksah, refer to the instructions in https://github.com/leksah/leksah."; # added 2019-04-28
393397 libaudit = audit; # added 2018-04-25
394398 libcanberra_gtk2 = libcanberra-gtk2; # added 2018-02-25
395399 libcanberra_gtk3 = libcanberra-gtk3; # added 2018-02-25
···529533 oauth2_proxy = oauth2-proxy; # added 2021-04-18
530534 opencascade_oce = opencascade; # added 2018-04-25
531535 oblogout = throw "oblogout has been removed from nixpkgs, as it's archived upstream."; # added 2019-12-10
536536+ octoprint-plugins = throw "octoprint-plugins are now part of the octoprint.python.pkgs package set."; # added 2021-01-24
532537 ofp = throw "ofp is not compatible with odp-dpdk";
533538 opencl-icd = ocl-icd; # added 2017-01-20
534539 openconnect_pa = throw "openconnect_pa fork has been discontinued, support for GlobalProtect is now available in openconnect"; # added 2021-05-21
···549554 parity = openethereum; # added 2020-08-01
550555 parquet-cpp = arrow-cpp; # added 2018-09-08
551556 pass-otp = pass.withExtensions (ext: [ext.pass-otp]); # added 2018-05-04
557557+ pdfread = throw "pdfread has been remove because it is unmaintained for years and the sources are no longer available"; # added 2021-07-22
552558 pdf2htmlEx = throw "pdf2htmlEx has been removed from nixpkgs, as it was unmaintained"; # added 2020-11-03
553559 perlXMLParser = perlPackages.XMLParser; # added 2018-10-12
554560 perlArchiveCpio = perlPackages.ArchiveCpio; # added 2018-10-12
···893899 virtmanager-qt = virt-manager-qt; # added 2019-10-29
894900 virtinst = throw "virtinst has been removed, as it's included in virt-manager"; # added 2021-07-21
895901 vorbisTools = vorbis-tools; # added 2016-01-26
902902+ way-cooler = throw "way-cooler is abandoned by its author: https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html"; # added 2020-01-13
896903 webkit = webkitgtk; # added 2019-03-05
897904 webkitgtk24x-gtk3 = throw "webkitgtk24x-gtk3 has been removed because it's insecure. Please use webkitgtk."; # added 2019-12-05
898905 webkitgtk24x-gtk2 = throw "webkitgtk24x-gtk2 has been removed because it's insecure. Please use webkitgtk."; # added 2019-12-05
899906 weechat-matrix-bridge = weechatScripts.weechat-matrix-bridge; # added 2018-09-06
900907 wineStaging = wine-staging; # added 2018-01-08
901908 winusb = woeusb; # added 2017-12-22
909909+ winstone = throw "winstone is not supported anymore. Alternatives are Jetty or Tomcat."; # added 2019-05-14
902910 winswitch = throw "winswitch has been removed from nixpkgs."; # added 2019-12-10
911911+ wireshark-gtk = throw "wireshark-gtk is not supported anymore. Use wireshark-qt or wireshark-cli instead."; # added 2019-11-18
903912 wireguard = wireguard-tools; # added 2018-05-19
904913 morituri = whipper; # added 2018-09-13
905914 xp-pen-g430 = pentablet-driver; # added 2020-05-03
···968977 ocamlPackages_4_03
969978 ocamlPackages_latest;
970979971971- # added 2019-08-01
972972- mumble_git = pkgs.mumble;
973973- murmur_git = pkgs.murmur;
974974-975975- # added 2020-08-17
976976- zabbix44 = throw "zabbix44: Zabbix 4.4 is end of life, see https://www.zabbix.com/documentation/current/manual/installation/upgrade_notes_500 for details on upgrading to Zabbix 5.0.";
980980+ mumble_git = pkgs.mumble; # added 2019-08-01
981981+ murmur_git = pkgs.murmur; # added 2019-08-01
982982+ zabbix44 = throw "zabbix44: Zabbix 4.4 is end of life, see https://www.zabbix.com/documentation/current/manual/installation/upgrade_notes_500 for details on upgrading to Zabbix 5.0."; # added 2020-08-17
977983978984 # added 2019-09-06
979985 zeroc_ice = pkgs.zeroc-ice;
···988994 ocaml_4_03 = ocamlPackages_4_03.ocaml;
989995}) // {
990996991991- # added 2019-10-28
992992- gnatsd = nats-server;
993993-994994- # added 2020-01-10
995995- tor-browser-bundle = throw "tor-browser-bundle was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead. See #77452.";
996996- # added 2020-01-10
997997- tor-browser-unwrapped = throw "tor-browser-unwrapped was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead. See #77452.";
998998-999999- # added 2020-02-09
10001000- dina-font-pcf = dina-font;
997997+ gnatsd = nats-server; # added 2019-10-28
998998+ tor-browser-bundle = throw "tor-browser-bundle was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead. See #77452."; # added 2020-01-10
999999+ tor-browser-unwrapped = throw "tor-browser-unwrapped was removed because it was out of date and inadequately maintained. Please use tor-browser-bundle-bin instead. See #77452."; # added 2020-01-10
10001000+ dina-font-pcf = dina-font; # added 2020-02-09
1001100110021002 # added 2019-04-13
10031003 # *-polly pointed to llvmPackages_latest
···1013101310141014 dnscrypt-proxy = throw "dnscrypt-proxy has been removed. Please use dnscrypt-proxy2."; # added 2020-02-02
10151015 sqldeveloper_18 = throw "sqldeveloper_18 is not maintained anymore!"; # added 2020-02-04
10161016-10171016 gcc-snapshot = throw "gcc-snapshot: Marked as broken for >2 years, additionally this 'snapshot' pointed to a fairly old one from gcc7.";
10181018-10191017 todolist = throw "todolist is now ultralist."; # added 2020-12-27
1020101810211019 /* Cleanup before 21.05 */
+11-28
pkgs/top-level/all-packages.nix
···4429442944304430 rar2fs = callPackage ../tools/filesystems/rar2fs { };
4431443144324432+ s9fes = callPackage ../development/interpreters/s9fes { };
44334433+44324434 s-tar = callPackage ../tools/archivers/s-tar {};
4433443544344436 sonota = callPackage ../tools/misc/sonota { };
···79447946 jbig2enc = callPackage ../tools/graphics/jbig2enc { };
7945794779467948 pdfarranger = callPackage ../applications/misc/pdfarranger { };
79477947-79487948- pdfread = throw "pdfread has been remove from nixpkgs, because it is unmaintained for years and the sources are no longer available";
7949794979507950 briss = callPackage ../tools/graphics/briss { };
79517951···11623116231162411624 knightos-genkfs = callPackage ../development/tools/knightos/genkfs { };
11625116251162611626+ regenkfs = callPackage ../development/tools/knightos/regenkfs { };
1162711627+1162611628 knightos-kcc = callPackage ../development/tools/knightos/kcc { };
11627116291162811630 knightos-kimg = callPackage ../development/tools/knightos/kimg { };
···1163011632 knightos-kpack = callPackage ../development/tools/knightos/kpack { };
11631116331163211634 knightos-mkrom = callPackage ../development/tools/knightos/mkrom { };
1163511635+1163611636+ remkrom = callPackage ../development/tools/knightos/remkrom { };
11633116371163411638 knightos-patchrom = callPackage ../development/tools/knightos/patchrom { };
1163511639···12576125801257712581 # Import PHP80 interpreter, extensions and packages
1257812582 php80 = callPackage ../development/interpreters/php/8.0.nix {
1257912579- stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
1258312583+ stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
1258012584 };
1258112585 php80Extensions = recurseIntoAttrs php80.extensions;
1258212586 php80Packages = recurseIntoAttrs php80.packages;
12583125871258412588 # Import PHP74 interpreter, extensions and packages
1258512589 php74 = callPackage ../development/interpreters/php/7.4.nix {
1258612586- stdenv = if stdenv.cc.isClang then llvmPackages_6.stdenv else stdenv;
1259012590+ stdenv = if stdenv.cc.isClang then llvmPackages.stdenv else stdenv;
1258712591 };
1258812592 php74Extensions = recurseIntoAttrs php74.extensions;
1258912593 php74Packages = recurseIntoAttrs php74.packages;
···13222132261322313227 buck = callPackage ../development/tools/build-managers/buck { };
13224132281322513225- buildkite-agent = buildkite-agent3;
1322613226- buildkite-agent2 = throw "pkgs.buildkite-agent2 has been discontinued. Please use pkgs.buildkite-agent (v3.x)";
1322713227- buildkite-agent3 = callPackage ../development/tools/continuous-integration/buildkite-agent { };
1322913229+ buildkite-agent = callPackage ../development/tools/continuous-integration/buildkite-agent { };
13228132301322913231 buildkite-agent-metrics = callPackage ../servers/monitoring/buildkite-agent-metrics { };
1323013232···1583715839 inherit (callPackage ../development/tools/misc/hydra { })
1583815840 hydra-unstable;
15839158411584015840- hydra-flakes = throw ''
1584115841- Flakes support has been merged into Hydra's master. Please use
1584215842- `pkgs.hydra-unstable` now.
1584315843- '';
1584415844-1584515842 hydra-cli = callPackage ../development/tools/misc/hydra-cli { };
15846158431584715844 hydraAntLogger = callPackage ../development/libraries/java/hydra-ant-logger { };
···18188181851818918186 lambda-mod-zsh-theme = callPackage ../shells/zsh/lambda-mod-zsh-theme { };
18190181871819118191- leksah = throw ("To use leksah, refer to the instructions in " +
1819218192- "https://github.com/leksah/leksah.");
1819318193-1819418188 libgme = callPackage ../development/libraries/audio/libgme { };
18195181891819618190 librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { };
···20395203892039620390 webhook = callPackage ../servers/http/webhook { };
20397203912039820398- winstone = throw "Winstone is not supported anymore. Alternatives are Jetty or Tomcat.";
2039920399-2040020392 xinetd = callPackage ../servers/xinetd { };
20401203932040220394 zookeeper = callPackage ../servers/zookeeper {
···2419124183 };
2419224184 wireshark-qt = wireshark;
24193241852419424194- # The GTK UI is deprecated by upstream. You probably want the QT version.
2419524195- wireshark-gtk = throw "wireshark-gtk is not supported anymore. Use wireshark-qt or wireshark-cli instead.";
2419624186 wireshark-cli = wireshark.override {
2419724187 withQt = false;
2419824188 libpcap = libpcap.override { withBluez = stdenv.isLinux; };
···2622726217 obsidian = callPackage ../applications/misc/obsidian { };
26228262182622926219 octoprint = callPackage ../applications/misc/octoprint { };
2623026230-2623126231- octoprint-plugins = throw "octoprint-plugins are now part of the octoprint.python.pkgs package set.";
26232262202623326221 ocrad = callPackage ../applications/graphics/ocrad { };
2623426222···27899278872790027888 wapiti = callPackage ../tools/security/wapiti { };
27901278892790227902- way-cooler = throw ("way-cooler is abandoned by its author: " +
2790327903- "https://way-cooler.org/blog/2020/01/09/way-cooler-post-mortem.html");
2790427904-2790527890 wayfireApplications = wayfireApplications-unwrapped.withPlugins (plugins: [ plugins.wf-shell ]);
2790627891 inherit (wayfireApplications) wayfire wcm;
2790727892 wayfireApplications-unwrapped = recurseIntoAttrs (
···31420314053142131406 nix-repl = throw (
3142231407 "nix-repl has been removed because it's not maintained anymore, " +
3142331423- (lib.optionalString (! lib.versionAtLeast "2" (lib.versions.major builtins.nixVersion))
3142431424- "ugrade your Nix installation to a newer version and ") +
3142531425- "use `nix repl` instead. " +
3142631426- "Also see https://github.com/NixOS/nixpkgs/pull/44903"
3140831408+ (lib.optionalString (!lib.versionAtLeast "2" (lib.versions.major builtins.nixVersion)) "ugrade your Nix installation to a newer version and ") +
3140931409+ "use `nix repl` instead. Also see https://github.com/NixOS/nixpkgs/pull/44903"
3142731410 );
31428314113142931412 nixpkgs-review = callPackage ../tools/package-management/nixpkgs-review { };