forked from mirrors/nixpkgs
Merge pull request #96109 from saschagrunert/apparmor_parser-path
apparmor: fix apparmor_parser path for utils package
This commit is contained in:
commit
4ef92a3033
|
@ -130,7 +130,11 @@ let
|
|||
libapparmor.python
|
||||
];
|
||||
|
||||
prePatch = prePatchCommon;
|
||||
prePatch = prePatchCommon + ''
|
||||
substituteInPlace ./utils/apparmor/easyprof.py --replace "/sbin/apparmor_parser" "${apparmor-parser}/bin/apparmor_parser"
|
||||
substituteInPlace ./utils/apparmor/aa.py --replace "/sbin/apparmor_parser" "${apparmor-parser}/bin/apparmor_parser"
|
||||
substituteInPlace ./utils/logprof.conf --replace "/sbin/apparmor_parser" "${apparmor-parser}/bin/apparmor_parser"
|
||||
'';
|
||||
inherit patches;
|
||||
postPatch = "cd ./utils";
|
||||
makeFlags = [ "LANGS=" ];
|
||||
|
|
Loading…
Reference in a new issue