diff options
Diffstat (limited to 'nixpkgs/nixos/modules/config/malloc.nix')
-rw-r--r-- | nixpkgs/nixos/modules/config/malloc.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/nixpkgs/nixos/modules/config/malloc.nix b/nixpkgs/nixos/modules/config/malloc.nix index a3eb55d8a42e..fc35993b5a81 100644 --- a/nixpkgs/nixos/modules/config/malloc.nix +++ b/nixpkgs/nixos/modules/config/malloc.nix @@ -87,5 +87,12 @@ in environment.etc."ld-nix.so.preload".text = '' ${providerLibPath} ''; + security.apparmor.includes = { + "abstractions/base" = '' + r /etc/ld-nix.so.preload, + r ${config.environment.etc."ld-nix.so.preload".source}, + mr ${providerLibPath}, + ''; + }; }; } |