···537537 New In Python 3.9 post</link> for more information.
538538 </para>
539539 </listitem>
540540+ <listitem>
541541+ <para>
542542+ The <literal>claws-mail</literal> package now references the
543543+ new GTK+ 3 release branch, major version 4. To use the GTK+ 2
544544+ releases, one can install the
545545+ <literal>claws-mail-gtk2</literal> package.
546546+ </para>
547547+ </listitem>
540548 </itemizedlist>
541549 </section>
542550</section>
+2
nixos/doc/manual/release-notes/rl-2111.section.md
···131131- Sway: The terminal emulator `rxvt-unicode` is no longer installed by default via `programs.sway.extraPackages`. The current default configuration uses `alacritty` (and soon `foot`) so this is only an issue when using a customized configuration and not installing `rxvt-unicode` explicitly.
132132133133- `python3` now defaults to Python 3.9. Python 3.9 introduces many deprecation warnings, please look at the [What's New In Python 3.9 post](https://docs.python.org/3/whatsnew/3.9.html) for more information.
134134+135135+- The `claws-mail` package now references the new GTK+ 3 release branch, major version 4. To use the GTK+ 2 releases, one can install the `claws-mail-gtk2` package.
···911911 }
912912 {
913913 assertion = versionAtLeast postgresqlPackage.version "12.0.0";
914914- message = "PostgreSQL >=12 is required to run GitLab 14.";
914914+ message = "PostgreSQL >=12 is required to run GitLab 14. Follow the instructions in the manual section for upgrading PostgreSQL here: https://nixos.org/manual/nixos/stable/index.html#module-services-postgres-upgrading";
915915 }
916916 ];
917917
+10-1
nixos/modules/services/networking/ddclient.nix
···1818 ${lib.optionalString (cfg.zone != "") "zone=${cfg.zone}"}
1919 ssl=${boolToStr cfg.ssl}
2020 wildcard=YES
2121+ ipv6=${boolToStr cfg.ipv6}
2122 quiet=${boolToStr cfg.quiet}
2223 verbose=${boolToStr cfg.verbose}
2324 ${cfg.extraConfig}
···116117 default = true;
117118 type = bool;
118119 description = ''
119119- Whether to use to use SSL/TLS to connect to dynamic DNS provider.
120120+ Whether to use SSL/TLS to connect to dynamic DNS provider.
121121+ '';
122122+ };
123123+124124+ ipv6 = mkOption {
125125+ default = false;
126126+ type = bool;
127127+ description = ''
128128+ Whether to use IPv6.
120129 '';
121130 };
122131
···9292 package = mkOption {
9393 type = types.package;
9494 description = "Which package to use for the Nextcloud instance.";
9595- relatedPackages = [ "nextcloud19" "nextcloud20" "nextcloud21" ];
9595+ relatedPackages = [ "nextcloud20" "nextcloud21" "nextcloud22" ];
9696 };
97979898 maxUploadSize = mkOption {
···385385 ];
386386387387 warnings = let
388388- latest = 21;
388388+ latest = 22;
389389 upgradeWarning = major: nixos:
390390 ''
391391 A legacy Nextcloud install (from before NixOS ${nixos}) may be installed.
···403403 Using config.services.nextcloud.poolConfig is deprecated and will become unsupported in a future release.
404404 Please migrate your configuration to config.services.nextcloud.poolSettings.
405405 '')
406406- ++ (optional (versionOlder cfg.package.version "19") (upgradeWarning 18 "20.09"))
407406 ++ (optional (versionOlder cfg.package.version "20") (upgradeWarning 19 "21.05"))
408408- ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"));
407407+ ++ (optional (versionOlder cfg.package.version "21") (upgradeWarning 20 "21.05"))
408408+ ++ (optional (versionOlder cfg.package.version "22") (upgradeWarning 21 "21.11"));
409409410410 services.nextcloud.package = with pkgs;
411411 mkDefault (
···415415 nextcloud defined in an overlay, please set `services.nextcloud.package` to
416416 `pkgs.nextcloud`.
417417 ''
418418- else if versionOlder stateVersion "20.09" then nextcloud18
419418 # 21.03 will not be an official release - it was instead 21.05.
420419 # This versionOlder statement remains set to 21.03 for backwards compatibility.
421420 # See https://github.com/NixOS/nixpkgs/pull/108899 and
422421 # https://github.com/NixOS/rfcs/blob/master/rfcs/0080-nixos-release-schedule.md.
423422 else if versionOlder stateVersion "21.03" then nextcloud19
424424- else nextcloud21
423423+ else if versionOlder stateVersion "21.11" then nextcloud21
424424+ else nextcloud22
425425 );
426426 }
427427···616616617617 services.nginx.enable = mkDefault true;
618618619619- services.nginx.virtualHosts.${cfg.hostName} = let
620620- major = toInt (versions.major cfg.package.version);
621621- in {
619619+ services.nginx.virtualHosts.${cfg.hostName} = {
622620 root = cfg.package;
623621 locations = {
624622 "= /robots.txt" = {
+1-1
nixos/modules/services/web-apps/nextcloud.xml
···1111 desktop client is packaged at <literal>pkgs.nextcloud-client</literal>.
1212 </para>
1313 <para>
1414- The current default by NixOS is <package>nextcloud21</package> which is also the latest
1414+ The current default by NixOS is <package>nextcloud22</package> which is also the latest
1515 major version available.
1616 </para>
1717 <section xml:id="module-services-nextcloud-basic-usage">
···4444# Those pieces of software we entirely ignore upstream's handling of, and just
4545# make sure they're in the path if desired.
4646let
4747- k3sVersion = "1.21.0+k3s1"; # k3s git tag
4848- k3sCommit = "2705431d9645d128441c578309574cd262285ae6"; # k3s git commit at the above version
4747+ k3sVersion = "1.21.2+k3s1"; # k3s git tag
4848+ k3sCommit = "5a67e8dc473f8945e8e181f6f0b0dbbc387f6fca"; # k3s git commit at the above version
49495050 traefikChartVersion = "9.18.2"; # taken from ./scripts/download at TRAEFIK_VERSION
5151 k3sRootVersion = "0.8.1"; # taken from ./scripts/download at ROOT_VERSION
···9797 k3sRepo = fetchgit {
9898 url = "https://github.com/k3s-io/k3s";
9999 rev = "v${k3sVersion}";
100100- sha256 = "sha256-xsXxf2ZYrkpOHlSFqTsHwWF3kChUjxWRjyDR3Dhg2ho=";
100100+ sha256 = "sha256-ZRkdHQ4RJ6XqE+DKE6wwpxetuKDG3k/4HaHyFxHev1U=";
101101 };
102102 # Stage 1 of the k3s build:
103103 # Let's talk about how k3s is structured.
···11-{ stdenv, lib, fetchgit, wrapGAppsHook, autoreconfHook, bison, flex
11+{ stdenv, lib, fetchgit, fetchpatch, wrapGAppsHook, autoreconfHook, bison, flex
22, curl, gtk2, gtk3, pkg-config, python2, python3, shared-mime-info
33, glib-networking, gsettings-desktop-schemas
4455-# Use the experimental gtk3 branch.
66-, useGtk3 ? false
55+# Selector between the GTK+ 3 and GTK+ 2 releases.
66+, useGtk3
7788# Package compatibility: old parameters whose name were not directly derived
99, enablePgp ? true
···5757with lib;
58585959let
6060- version = if useGtk3 then "3.99.0" else "3.17.8";
6060+ # Last release and hash for both the GTK+ 3 and GTK+ 2 version.
6161+ version = if useGtk3 then "4.0.0" else "3.18.0";
61626262- # The official release uses gtk2 and contains the version tag.
6363 gtk2src = {
6464- sha256 = "0l4f8q11iyj8pi120lrapgq51k5j64xf0jlczkzbm99rym752ch5";
6464+ sha256 = "1vsiy3xsppw4d8ylsz70wsyrvmgy88lp2hj7vrc353ckny80r9lh";
6565 };
66666767- # The corresponding commit in the gtk3 branch.
6867 gtk3src = {
6969- sha256 = "176h1swh1zx6dqyzfz470x4a1xicnv0zhy8ir47k7p23g6y17i2k";
6868+ sha256 = "0mwnjiqg2sj61va0y9yi3v52iyr5kzmbnvsqxav3a48m2f8p27qn";
7069 };
71707271 python = if useGtk3 then python3 else python2;
···125124126125 outputs = [ "out" "dev" ];
127126128128- patches = [ ./mime.patch ];
127127+ patches = [
128128+ ./mime.patch
129129+130130+ # Fixes a bug with the automatic authentication method, resulting in errors
131131+ # with certain mail providers.
132132+ # <https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4497>
133133+ # This MUST be removed for the next release.
134134+ (fetchpatch {
135135+ name = "fix-automatic-auth.patch";
136136+ url = "https://git.claws-mail.org/?p=claws.git;a=patch;h=9c2585c58b49815a0eab8d683f0a94f75cbbe64e";
137137+ sha256 = "0v8v5q2p4h93lp7yq3gnlvarsrcssv96aks1wqy3187vsr4kdw7a";
138138+ })
139139+ ];
129140130141 preConfigure = ''
131142 # autotools check tries to dlopen libpython as a requirement for the python plugin
···25252626 makeFlags = [ "INSTALLBASE=$(out)/share/gnome-shell/extensions" ];
27272828- uuid = "EasyScreenCast@iacopodeenosee.gmail.com";
2828+ passthru.extensionUuid = "EasyScreenCast@iacopodeenosee.gmail.com";
29293030 meta = with lib; {
3131 description = "Simplifies the use of the video recording function integrated in gnome shell";
···24242525 makeFlags = [ "INSTALLBASE=${placeholder "out"}/share/gnome-shell/extensions" ];
26262727- uuid = "arcmenu@arcmenu.com";
2727+ passthru = {
2828+ extensionUuid = "arcmenu@arcmenu.com";
2929+ extensionPortalSlug = "arcmenu";
3030+ };
28312932 meta = with lib; {
3033 description = "Application menu for GNOME Shell, designed to provide a more traditional user experience and workflow";
···1414 "lockkeys@fawtytoo" = "lock-keys-2";
151516161717+1818+ # ############################################################################
1719 # These are conflicts for 3.38 extensions. They will very probably come back
1820 # once more of them support 40.
1921···26282729 # That extension is broken because of https://github.com/NixOS/nixpkgs/issues/118612
2830 #"flypie@schneegans.github.com" = null;
3131+3232+3333+3434+ # ############################################################################
3535+ # Overrides for extensions that were manually packaged in the past but are gradually
3636+ # being replaced by automatic packaging where possible.
3737+ #
3838+ # The manually packaged ones:
3939+ "EasyScreenCast@iacopodeenosee.gmail.com" = "easyScreenCast"; # extensionPortalSlug is "easyscreencast"
4040+ "gnome-fuzzy-app-search@gnome-shell-extensions.Czarlie.gitlab.com" = "fuzzy-app-search"; # extensionPortalSlug is "gnome-fuzzy-app-search"
4141+ "TopIcons@phocean.net" = "topicons-plus"; # extensionPortalSlug is "topicons"
4242+ "paperwm@hedning:matrix.org" = "paperwm"; # is not on extensions.gnome.org
4343+ "no-title-bar@jonaspoehler.de" = "no-title-bar"; # extensionPortalSlug is "no-title-bar-forked"
4444+ # These extensions are automatically packaged at the moment. We preserve the old attribute name
4545+ # for backwards compatibility.
4646+ "appindicatorsupport@rgcjonas.gmail.com" = "appindicator"; # extensionPortalSlug is "appindicator-support"
4747+ "unredirect@vaina.lt" = "disable-unredirect"; # extensionPortalSlug is "disable-unredirect-fullscreen-windows"
4848+ "drawOnYourScreen@abakkk.framagit.org" = "draw-on-your-screen"; # extensionPortalSlug is "draw-on-you-screen"
4949+ "timepp@zagortenay333" = "timepp"; # extensionPortalSlug is "time"
5050+ "windowIsReady_Remover@nunofarruca@gmail.com" = "window-is-ready-remover"; # extensionPortalSlug is "window-is-ready-notification-remover"
2951}
···17171818 makeFlags = [ "INSTALL_PATH=$(out)/share/gnome-shell/extensions" ];
19192020- uuid = "TopIcons@phocean.net";
2020+ passthru.extensionUuid = "TopIcons@phocean.net";
21212222 meta = with lib; {
2323 description = "Brings all icons back to the top panel, so that it's easier to keep track of apps running in the backround";
···2323 homepage = "https://geographiclib.sourceforge.io";
2424 description = "Algorithms for geodesics (Karney, 2013) for solving the direct and inverse problems for an ellipsoid of revolution";
2525 license = licenses.mit;
2626- maintainers = with maintainers; [ va1entin ];
2726 };
2827}
···11+{ lib
22+, stdenv
33+, fetchgit
44+, requireFile
55+, pkg-config
66+, libusb1
77+, p7zip
88+}:
99+1010+let
1111+ # The last known good firmware package to have been tested
1212+ # by the upstream projet.
1313+ # The firmware URL is hardcoded in the upstream project's installation script
1414+ firmwareUrl = "https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi";
1515+ # The original URL "https://research.microsoft.com/en-us/um/legal/kinectsdk-tou_noncommercial.htm"
1616+ # redirects to the following url:
1717+ licenseUrl = "https://www.microsoft.com/en-us/legal/terms-of-use";
1818+in
1919+stdenv.mkDerivation rec {
2020+ pname = "kinect-audio-setup";
2121+2222+ # On update: Make sure that the `firmwareURL` is still in sync with upstream.
2323+ # If the project structure hasn't changed you can find the URL in the
2424+ # `kinect_fetch_fw` file in the project source.
2525+ version = "0.5";
2626+2727+ # This is an MSI or CAB file
2828+ FIRMWARE = requireFile rec {
2929+ name = "UACFirmware";
3030+ sha256 = "08a2vpgd061cmc6h3h8i6qj3sjvjr1fwcnwccwywqypz3icn8xw1";
3131+ message = ''
3232+ In order to install the Kinect Audio Firmware, you need to download the
3333+ non-redistributable firmware from Microsoft.
3434+ The firmware is available at ${firmwareUrl} and the license at ${licenseUrl} .
3535+ Save the file as UACFirmware and use "nix-prefetch-url file://\$PWD/UACFirmware" to
3636+ add it to the Nix store.
3737+ '';
3838+ };
3939+4040+ src = fetchgit {
4141+ url = "git://git.ao2.it/kinect-audio-setup.git";
4242+ rev = "v${version}";
4343+ sha256 = "sha256-bFwmWh822KvFwP/0Gu097nF5K2uCwCLMB1RtP7k+Zt0=";
4444+ };
4545+4646+ # These patches are not upstream because the project has seen no
4747+ # activity since 2016
4848+ patches = [
4949+ ./libusb-1-import-path.patch
5050+ ./udev-rules-extra-devices.patch
5151+ ];
5252+5353+ nativeBuildInputs = [ p7zip libusb1 pkg-config ];
5454+5555+ makeFlags = [
5656+ "PREFIX=$(out)"
5757+ "DESTDIR=$(out)"
5858+ "FIRMWARE_PATH=$(out)/lib/firmware/UACFirmware"
5959+ "LOADER_PATH=$(out)/libexec/kinect_upload_fw"
6060+ ];
6161+6262+ buildPhase = ''
6363+ runHook preBuild
6464+ make -C kinect_upload_fw kinect_upload_fw $makeFlags "''${makeFlagsArray[@]}"
6565+ runHook postBuild
6666+ '';
6767+6868+ installPhase = ''
6969+ runHook preInstall
7070+ mkdir -p $out/libexec/ $out/lib/firmware $out/lib/udev/rules.d
7171+7272+ install -Dm755 kinect_upload_fw/kinect_upload_fw $out/libexec/
7373+7474+ # 7z extract "assume yes on all queries" "only extract/keep files/directories matching UACFIRMWARE.* recursively"
7575+ 7z e -y -r "${FIRMWARE}" "UACFirmware.*" >/dev/null
7676+ # The filename is bound to change with the Firmware SDK
7777+ mv UACFirmware.* $out/lib/firmware/UACFirmware
7878+7979+ make install_udev_rules $makeFlags "''${makeFlagsArray[@]}"
8080+8181+ runHook postInstall
8282+ '';
8383+8484+ meta = with lib; {
8585+ description = "Tools to enable audio input from the Microsoft Kinect sensor device";
8686+ homepage = "https://git.ao2.it/kinect-audio-setup.git";
8787+ maintainers = with maintainers; [ berbiche ];
8888+ platforms = platforms.linux;
8989+ license = licenses.unfree;
9090+ };
9191+}
···3333 };
3434 };
3535in {
3636- nextcloud18 = throw ''
3737- Nextcloud v18 has been removed from `nixpkgs` as the support for it was dropped
3838- by upstream in 2021-01. Please upgrade to at least Nextcloud v19 by
3636+ nextcloud19 = throw ''
3737+ Nextcloud v19 has been removed from `nixpkgs` as the support for it was dropped
3838+ by upstream in 2021-06. Please upgrade to at least Nextcloud v20 by
3939 declaring
40404141- services.nextcloud.package = pkgs.nextcloud19;
4141+ services.nextcloud.package = pkgs.nextcloud20;
42424343 in your NixOS config.
4444-4545- [1] https://docs.nextcloud.com/server/18/admin_manual/release_schedule.html
4644 '';
47454848- # FIXME(@Ma27) remove on 21.05
4949- nextcloud19 = generic {
5050- version = "19.0.6";
5151- sha256 = "sha256-pqqIayE0OyTailtd2zeYi+G1APjv/YHqyO8jCpq7KJg=";
5252- extraVulnerabilities = [
5353- "Nextcloud 19 is still supported, but CVE-2020-8259 & CVE-2020-8152 are unfixed! Please note that both CVEs only affect the file encryption module which is turned off by default. Alternatively, `pkgs.nextcloud20` can be used."
5454- ];
5555- };
5656-5746 nextcloud20 = generic {
5858- version = "20.0.7";
5959- sha256 = "sha256-jO2Ct3K/CvZ9W+EyPkD5d0KbwKK8yGQJXvx4dnUAtys=";
4747+ version = "20.0.11";
4848+ sha256 = "sha256-CLrJH5eNTiJJrDzfCg+re3J2qmwxFOe12nUU/QgtD6A=";
6049 };
61506251 nextcloud21 = generic {
6363- version = "21.0.2";
6464- sha256 = "5e5b38109a3485db5fd2d248f24478eabe6c0790ec10b030acbbee207d5511fe";
5252+ version = "21.0.3";
5353+ sha256 = "8adcd175c7a70c33332586fa9ce36d03ba02d1df5d4c334d1210201d3fb953ee";
5454+ };
5555+5656+ nextcloud22 = generic {
5757+ version = "22.0.0";
5858+ sha256 = "sha256-ORHTdUw3rKfJtfOys3UTwPK1u5ea8AgWwRF7Hu28XXo=";
6559 };
6660 # tip: get she sha with:
6761 # curl 'https://download.nextcloud.com/server/releases/nextcloud-${version}.tar.bz2.sha256'
+3-3
pkgs/servers/plex/raw.nix
···1212# server, and the FHS userenv and corresponding NixOS module should
1313# automatically pick up the changes.
1414stdenv.mkDerivation rec {
1515- version = "1.23.3.4707-ebb5fe9f3";
1515+ version = "1.23.4.4805-186bae04e";
1616 pname = "plexmediaserver";
17171818 # Fetch the source
1919 src = if stdenv.hostPlatform.system == "aarch64-linux" then fetchurl {
2020 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_arm64.deb";
2121- sha256 = "0b3xsyrpz1098lyqfapnjp7k55d07qg7h9avc7f3zmpkiclxf2ry";
2121+ sha256 = "161baz4klwb8wyvc3mnbvvwjcmdfp38rn270jwvmwzp6b70jclyx";
2222 } else fetchurl {
2323 url = "https://downloads.plex.tv/plex-media-server-new/${version}/debian/plexmediaserver_${version}_amd64.deb";
2424- sha256 = "1as83prhlfi4g172k3mgm6p8k58zm4bahjf8bp8pyxcmgiii76m0";
2424+ sha256 = "0vj7k81fl8chaxqz287arvn9vva4cd4wcnybc5yvls3589h9x1zq";
2525 };
26262727 outputs = [ "out" "basedb" ];
···5050 "/tex/generic/config" # make it a real directory for scheme-infraonly
5151 ];
52525353- buildInputs = [ makeWrapper ] ++ pkgList.extraInputs;
5353+ nativeBuildInputs = [ makeWrapper ];
5454+ buildInputs = pkgList.extraInputs;
54555556 # This is set primarily to help find-tarballs.nix to do its job
5657 passthru.packages = pkgList.all;
+2
pkgs/top-level/aliases.nix
···129129 clang12Stdenv = lowPrio llvmPackages_12.stdenv;
130130131131 clangAnalyzer = clang-analyzer; # added 2015-02-20
132132+ claws-mail-gtk3 = claws-mail; # added 2021-07-10
132133 clawsMail = claws-mail; # added 2016-04-29
133134 clutter_gtk = clutter-gtk; # added 2018-02-25
134135 cmakeWithQt4Gui = throw "cmakeWithQt4Gui has been removed in favor of cmakeWithGui (Qt 5)"; # added 2021-05
···540541 osxfuse = macfuse-stubs; # added 2021-03-20
541542 otter-browser = throw "otter-browser has been removed from nixpkgs, as it was unmaintained"; # added 2020-02-02
542543 owncloudclient = owncloud-client; # added 2016-08
544544+ ocz-ssd-guru = throw "ocz-ssd-guru has been removed due to there being no source available"; # added 2021-07-12
543545 p11_kit = p11-kit; # added 2018-02-25
544546 parity = openethereum; # added 2020-08-01
545547 parquet-cpp = arrow-cpp; # added 2018-09-08