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.
This commit is contained in:
Alex James 2023-12-27 03:45:54 -06:00
parent 9f32ad8ff8
commit 5e5be005f8
No known key found for this signature in database
GPG key ID: 4729B829AC5FCC72

View file

@ -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 <local/bin.transmission-daemon>
}