mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
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:
parent
9f32ad8ff8
commit
5e5be005f8
1 changed files with 0 additions and 2 deletions
|
@ -35,7 +35,6 @@
|
||||||
, enableCli ? true
|
, enableCli ? true
|
||||||
, installLib ? false
|
, installLib ? false
|
||||||
, apparmorRulesFromClosure
|
, apparmorRulesFromClosure
|
||||||
, extraAppArmorPaths ? []
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation (finalAttrs: {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
|
@ -136,7 +135,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||||
rwk /tmp/tr_session_id_*,
|
rwk /tmp/tr_session_id_*,
|
||||||
|
|
||||||
r $out/share/transmission/public_html/**,
|
r $out/share/transmission/public_html/**,
|
||||||
${lib.strings.concatMapStrings (x: "r ${x},\n") extraAppArmorPaths}
|
|
||||||
|
|
||||||
include <local/bin.transmission-daemon>
|
include <local/bin.transmission-daemon>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue