diff --git a/doc/release-notes/rl-2611.section.md b/doc/release-notes/rl-2611.section.md index 7619aa29d03c..101058999c8e 100644 --- a/doc/release-notes/rl-2611.section.md +++ b/doc/release-notes/rl-2611.section.md @@ -184,6 +184,8 @@ - `python3Packages.tensorflow-build` and `libtensorflow` have been removed, as they had been broken for years. Use `python3Packages.tensorflow` (`tensorflow-bin`) instead. The `withTensorflow` options of `ffmpeg` and `snips-sh` have been removed accordingly. +- `halloy` now builds with Tor proxy support by default using Arti, which can be disabled by overriding `withTor` with `false`. + - `postgresqlPackages.anonymizer` has been updated from 2.4.1 to 3.2.2. The extension must be dropped and recreated, and masking no longer runs as a superuser. See the [upgrade notes](https://postgresql-anonymizer.readthedocs.io/en/stable/UPGRADE/) for details. `pg-dump-anon` has been removed as it was removed upstream. Use `pg_dump` with a masked role instead. - `landrun` was updated to `0.1.17`, which included breaking changes, reference the [breaking changes](https://github.com/Zouuup/landrun/releases/tag/v0.1.17) section in the `landrun` release notes. diff --git a/pkgs/by-name/ha/halloy/package.nix b/pkgs/by-name/ha/halloy/package.nix index cb8da689d8d4..dbea6f7c9543 100644 --- a/pkgs/by-name/ha/halloy/package.nix +++ b/pkgs/by-name/ha/halloy/package.nix @@ -18,6 +18,11 @@ libx11, libxcb, alsa-lib, + zstd, + + # Halloy comes with native support for a Tor proxy using Arti + # https://halloy.chat/configuration/proxy#tor + withTor ? true, }: rustPlatform.buildRustPackage (finalAttrs: { @@ -33,6 +38,8 @@ rustPlatform.buildRustPackage (finalAttrs: { cargoHash = "sha256-S/6JHaAbT6aylj9qx40YEiMpN7Am8RFy2EpoYkbaWl4="; + buildFeatures = lib.optional withTor "tor"; + nativeBuildInputs = [ copyDesktopItems makeBinaryWrapper @@ -52,6 +59,9 @@ rustPlatform.buildRustPackage (finalAttrs: { libxcursor libxi libxcb + ] + ++ lib.optionals withTor [ + zstd ]; desktopItems = [