mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-06 13:53:05 +00:00
Merge pull request #259663 from al3xtjames/transmission_4-apparmor
transmission_4: update AppArmor rules
This commit is contained in:
commit
12a0ade5e4
@ -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>
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user