Skip to content

{libtransmission_3,transmission_3{,-gtk,-qt,_noSystemd},torrential}: drop#456060

Merged
wolfgangwalther merged 6 commits intoNixOS:masterfrom
emilazy:push-wpsxnooqlulq
Oct 30, 2025
Merged

{libtransmission_3,transmission_3{,-gtk,-qt,_noSystemd},torrential}: drop#456060
wolfgangwalther merged 6 commits intoNixOS:masterfrom
emilazy:push-wpsxnooqlulq

Conversation

@emilazy
Copy link
Member

@emilazy emilazy commented Oct 27, 2025

Unmaintained upstream and it’s been a year since we started migrating to Transmission 4. Let’s not carry networked software from half a decade ago into 25.11.

cc @leona-ya @jopejoe1 for freeze

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@emilazy emilazy requested review from a team and doronbehar October 27, 2025 02:00
@doronbehar
Copy link
Contributor

treefmt CI error:

diff --git a/pkgs/top-level/aliases.nix b/pkgs/top-level/aliases.nix
index 6c71d14ee..f93ea0570 100644
--- a/pkgs/top-level/aliases.nix
+++ b/pkgs/top-level/aliases.nix
@@ -2549,7 +2549,6 @@ mapAliases {
   tkimg = tclPackages.tkimg; # Added 2024-10-02
   tlaplusToolbox = tlaplus-toolbox; # Added 2025-08-21
   todiff = throw "'todiff' was removed due to lack of known users"; # Added 2025-01-25
-  torrential = throw "torrential was removed, as it requires Transmission 3 which was removed"; # Added 2025-10-27
   toil = throw "toil was removed as it was broken and requires obsolete versions of libraries"; # Added 2024-09-22
   tokyo-night-gtk = tokyonight-gtk-theme; # Added 2024-01-28
   tomcat_connectors = apacheHttpdPackages.mod_jk; # Added 2024-06-07
@@ -2557,6 +2556,7 @@ mapAliases {
   tooling-language-server = deputy; # Added 2025-06-22
   tor-browser-bundle-bin = tor-browser; # Added 2023-09-23
   torq = throw "torq has been removed because the project went closed source"; # Added 2024-11-24
+  torrential = throw "torrential was removed, as it requires Transmission 3 which was removed"; # Added 2025-10-27
   torrenttools = throw "torrenttools has been removed due to lack of maintanance upstream"; # Added 2025-04-06
   torzu = throw "torzu has been removed from nixpkgs, as it is subject to a DMCA takedown"; # Added 2025-05-12
   tracker = lib.warnOnInstantiate "tracker has been renamed to tinysparql" tinysparql; # Added 2024-09-30

@emilazy emilazy force-pushed the push-wpsxnooqlulq branch 2 times, most recently from cd17722 to 22867d5 Compare October 27, 2025 17:45
@emilazy emilazy changed the title {libtransmission_3,transmission_3{,-gtk,-qt,_noSystemd}}: drop {libtransmission_3,transmission_3{,-gtk,-qt,_noSystemd},torrential}: drop Oct 27, 2025
@emilazy emilazy force-pushed the push-wpsxnooqlulq branch 3 times, most recently from 43909db to 7d3004a Compare October 27, 2025 18:30
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) labels Oct 27, 2025
@emilazy
Copy link
Member Author

emilazy commented Oct 27, 2025

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 456060
Commit: 7d3004abf4faededee40a517f96a3f834083fe7d


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 2 packages built:
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)

I also tested nixosTests.{bittorrent,transmission_4}. This should be ready now.

cc @LordGrimmauld as I had to use some black magic in the AppArmor module to stop the throw messing things up.

@emilazy emilazy marked this pull request as ready for review October 27, 2025 18:39
@bobby285271
Copy link
Member

torrential removal looks good to me. (it is very unfortunate that porting Vala programs to transmission_4 is... too non-trival 🙃 )

Copy link
Contributor

@doronbehar doronbehar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks almost perfect to me!

Copy link
Contributor

@LordGrimmauld LordGrimmauld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the ping! The assertion change does indeed look like black magic, but if it works i won't complain. The tryEval we had before was presumably slow and not much less hacky. Apparmor test still evals. I don't see any obvious issues with that part.

Edit: To clarify, i only looked at the apparmor changes, not the rest of the PR.

@wolfgangwalther
Copy link
Contributor

Needs a rebase after #456065.

@nixpkgs-ci nixpkgs-ci bot added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 28, 2025
The Transmission module adds the package automatically.
I don’t know why setting `--config-dir` breaks the finish script
with Transmission 4, but I don’t really feel like spending more
time investigating than I already did. It does still respect the
passed settings, since we were passing the default location anyway.
We probably shouldn’t block Darwin on the GTK version of Transmission
4 either, but hey…
…drop

Unmaintained upstream and it’s been a year since we started migrating
to Transmission 4. Let’s not carry networked software from half a
decade ago into 25.11.
@nixpkgs-ci nixpkgs-ci bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 28, 2025
Comment on lines +226 to +233
}
// {
defaultText = ''
if lib.versionAtLeast config.system.stateVersion "25.11" then
pkgs.transmission_4
else
«error message»
'';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure we need this additional defaultText, I'd just stick with the default.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Oct 28, 2025
Copy link
Member

@leona-ya leona-ya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

okay in freeze for me.

@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Oct 29, 2025
@wolfgangwalther
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 456060
Commit: 0c3f4b7d67c64563e759d689bf4026a0dcd6ecbb


x86_64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 2 packages built:
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)

aarch64-linux

⏩ 2 packages blacklisted:
  • nixos-install-tools
  • tests.nixos-functions.nixos-test
✅ 2 packages built:
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)

x86_64-darwin

✅ 2 packages built:
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)

aarch64-darwin

✅ 2 packages built:
  • tests.fetchtorrent.http-link (tests.fetchtorrent.http-link-transmission)
  • tests.fetchtorrent.magnet-link (tests.fetchtorrent.magnet-link-transmission)

@wolfgangwalther wolfgangwalther added this pull request to the merge queue Oct 30, 2025
Merged via the queue into NixOS:master with commit c278e24 Oct 30, 2025
30 of 32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: fetch Fetchers (e.g. fetchgit, fetchsvn, ...) 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants