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