From 4c298423082f7b8ab61857ed888ad6c4860bbd0c Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Mon, 3 Jul 2023 10:51:02 +0200 Subject: [PATCH] Update transmission patch --- patches/241146.patch | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/patches/241146.patch b/patches/241146.patch index c62ccb32..a5ef1c04 100644 --- a/patches/241146.patch +++ b/patches/241146.patch @@ -36,10 +36,10 @@ index 0000000000000..46c1dda8b9cfe +} diff --git a/pkgs/applications/networking/p2p/transmission/4.nix b/pkgs/applications/networking/p2p/transmission/4.nix new file mode 100644 -index 0000000000000..3e7d2b946d781 +index 0000000000000..6ad2c8dd08283 --- /dev/null +++ b/pkgs/applications/networking/p2p/transmission/4.nix -@@ -0,0 +1,166 @@ +@@ -0,0 +1,162 @@ +{ stdenv +, lib +, fetchFromGitHub @@ -63,6 +63,7 @@ index 0000000000000..3e7d2b946d781 +, dht +, libnatpmp +, libiconv ++, darwin + # Build options +, enableGTK3 ? false +, gtkmm3 @@ -154,7 +155,7 @@ index 0000000000000..3e7d2b946d781 + ++ lib.optionals enableGTK3 [ gtkmm3 xorg.libpthreadstubs ] + ++ lib.optionals enableSystemd [ systemd ] + ++ lib.optionals stdenv.isLinux [ inotify-tools ] -+ ++ lib.optionals stdenv.isDarwin [ libiconv ]; ++ ++ lib.optionals stdenv.isDarwin [ libiconv darwin.apple_sdk.frameworks.Foundation ]; + + postInstall = '' + mkdir $apparmor @@ -182,11 +183,6 @@ index 0000000000000..3e7d2b946d781 + EOF + ''; + -+ passthru.tests = { -+ apparmor = nixosTests.transmission; # starts the service with apparmor enabled -+ smoke-test = nixosTests.bittorrent; -+ }; -+ + meta = { + description = "A fast, easy and free BitTorrent client"; + longDescription = ''