clean up apparmor.d submodules
This commit is contained in:
parent
2cd93f01d9
commit
e1789e9066
1 changed files with 8 additions and 5 deletions
|
@ -21,15 +21,18 @@ buildGoModule {
|
|||
./apparmor-d-paths.patch
|
||||
];
|
||||
|
||||
subPackages = [
|
||||
"cmd/prebuild"
|
||||
"cmd/aa-log"
|
||||
];
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/etc build/apparmor.d
|
||||
mkdir -p $out/etc
|
||||
|
||||
rm $out/bin/cmd $out/bin/aa
|
||||
mv $out/bin/prebuild build/prebuild
|
||||
|
||||
DISTRIBUTION=arch ./build/prebuild --complain --abi 4 # fixme: replace with nixos support once available
|
||||
DISTRIBUTION=arch $out/bin/prebuild --complain --abi 4 # fixme: replace with nixos support once available
|
||||
|
||||
mv .build/apparmor.d $out/etc
|
||||
rm $out/bin/prebuild
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue