Merge pull request #259663 from al3xtjames/transmission_4-apparmor

transmission_4: update AppArmor rules
This commit is contained in:
Peder Bergebakken Sundt 2023-11-19 19:53:18 +01:00 committed by GitHub
commit 12a0ade5e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,6 +35,7 @@
, enableCli ? true
, installLib ? false
, apparmorRulesFromClosure
, extraAppArmorPaths ? []
}:
stdenv.mkDerivation (finalAttrs: {
@ -134,7 +135,8 @@ stdenv.mkDerivation (finalAttrs: {
r @{PROC}/@{pid}/mounts,
rwk /tmp/tr_session_id_*,
r $out/share/transmission/web/**,
r $out/share/transmission/public_html/**,
${lib.strings.concatMapStrings (x: "r ${x},\n") extraAppArmorPaths}
include <local/bin.transmission-daemon>
}