]> Git — Sourcephile - sourcephile-nix.git/blob - nixpkgs/patches/fix-ld-nix-apparmor.diff
nix: polish shell exports
[sourcephile-nix.git] / nixpkgs / patches / fix-ld-nix-apparmor.diff
1 diff --git a/nixos/modules/config/malloc.nix b/nixos/modules/config/malloc.nix
2 index 5c5752ef515..54ba3048fdb 100644
3 --- a/nixos/modules/config/malloc.nix
4 +++ b/nixos/modules/config/malloc.nix
5 @@ -90,7 +90,7 @@ in
6 security.apparmor.includes = {
7 "abstractions/base" = ''
8 r /etc/ld-nix.so.preload,
9 - r ${config.environment.etc."ld-nix.so.preload".source},
10 + r ${config.environment.etc."ld-nix.${pkgs.glibc.src.outputHash}.so.preload".source},
11 mr ${providerLibPath},
12 '';
13 };