diff options
author | Peder Bergebakken Sundt <pbsds@hotmail.com> | 2023-11-19 19:53:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 19:53:18 +0100 |
commit | 12a0ade5e458984675b9789a4b260ebabdd2d1ab (patch) | |
tree | 767ae771bac109c997edc91a08db35d14ced51fd /pkgs/applications | |
parent | 93308606e4b5800f019dee59c7d83b54a1bf643d (diff) | |
parent | 71ab0b6c1c94fdc5d702bbe401bbf841f0d2257b (diff) |
Merge pull request #259663 from al3xtjames/transmission_4-apparmor
transmission_4: update AppArmor rules
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/p2p/transmission/4.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/applications/networking/p2p/transmission/4.nix b/pkgs/applications/networking/p2p/transmission/4.nix index 62f0d3933a30e..027564ae7a011 100644 --- a/pkgs/applications/networking/p2p/transmission/4.nix +++ b/pkgs/applications/networking/p2p/transmission/4.nix @@ -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> } |