From 5e5be005f8999edb47d6d356895bffce2fd761a7 Mon Sep 17 00:00:00 2001 From: Alex James Date: Wed, 27 Dec 2023 03:45:54 -0600 Subject: [PATCH] transmission_4: remove extraAppArmorPaths extraAppArmorPaths was added in https://github.com/NixOS/nixpkgs/pull/259663 to extend the default AppArmor ruleset for transmission-daemon. This was intended to support alternative web interfaces, which is no longer needed with https://github.com/NixOS/nixpkgs/pull/241247. The NixOS service was updated to add a user-specified TRANSMISSION_WEB_HOME to the AppArmor profile without an override. --- pkgs/applications/networking/p2p/transmission/4.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/applications/networking/p2p/transmission/4.nix b/pkgs/applications/networking/p2p/transmission/4.nix index aa1f7f50daf8..9e0a1d69ef21 100644 --- a/pkgs/applications/networking/p2p/transmission/4.nix +++ b/pkgs/applications/networking/p2p/transmission/4.nix @@ -35,7 +35,6 @@ , enableCli ? true , installLib ? false , apparmorRulesFromClosure -, extraAppArmorPaths ? [] }: stdenv.mkDerivation (finalAttrs: { @@ -136,7 +135,6 @@ stdenv.mkDerivation (finalAttrs: { rwk /tmp/tr_session_id_*, r $out/share/transmission/public_html/**, - ${lib.strings.concatMapStrings (x: "r ${x},\n") extraAppArmorPaths} include }