summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Izquierdo <david@izquierdofernandez.com>2020-06-05 11:41:56 +0200
committerBjørn Forsman <bjorn.forsman@gmail.com>2020-06-10 19:50:24 +0200
commitf2d1568282807adee0c985ffda243caea7d16b28 (patch)
tree25f1c0cbeae62457e5f9d102b6526b65ddf65531
parentanki: format to fix indentation (diff)
downloadnixpkgs-f2d1568282807adee0c985ffda243caea7d16b28.tar.gz
transmission: add libstdc++ and libgcc_s permissions to apparmor profile
-rw-r--r--nixos/modules/services/torrent/transmission.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix
index e7f5aaed844e..1bfcf2de82f8 100644
--- a/nixos/modules/services/torrent/transmission.nix
+++ b/nixos/modules/services/torrent/transmission.nix
@@ -179,6 +179,8 @@ in
${getLib pkgs.utillinuxMinimal.out}/lib/libblkid.so.* mr,
${getLib pkgs.utillinuxMinimal.out}/lib/libmount.so.* mr,
${getLib pkgs.utillinuxMinimal.out}/lib/libuuid.so.* mr,
+ ${getLib pkgs.gcc.cc.lib}/lib/libstdc++.so.* mr,
+ ${getLib pkgs.gcc.cc.lib}/lib/libgcc_s.so.* mr,
@{PROC}/sys/kernel/random/uuid r,
@{PROC}/sys/vm/overcommit_memory r,