diff --git a/nixos/modules/security/apparmor-suid.nix b/nixos/modules/security/apparmor-suid.nix index c2dc84e6a75c..d766f6badfc7 100644 --- a/nixos/modules/security/apparmor-suid.nix +++ b/nixos/modules/security/apparmor-suid.nix @@ -29,7 +29,7 @@ with lib; network inet raw, ${pkgs.glibc.out}/lib/*.so mr, - ${pkgs.libcap}/lib/libcap.so* mr, + ${pkgs.libcap.out}/lib/libcap.so* mr, ${pkgs.attr.out}/lib/libattr.so* mr, ${pkgs.iputils}/bin/ping mixr,