forked from mirrors/nixpkgs
Merge pull request #50831 from andersk/lxd-apparmor_parser
lxd: Provide apparmor_parser
This commit is contained in:
commit
f00bc13ad7
|
@ -2,6 +2,7 @@
|
|||
, makeWrapper, acl, rsync, gnutar, xz, btrfs-progs, gzip, dnsmasq
|
||||
, squashfsTools, iproute, iptables, ebtables, libcap, dqlite
|
||||
, sqlite-replication
|
||||
, writeShellScriptBin, apparmor-profiles, apparmor-parser
|
||||
}:
|
||||
|
||||
buildGoPackage rec {
|
||||
|
@ -31,6 +32,9 @@ buildGoPackage rec {
|
|||
|
||||
wrapProgram $bin/bin/lxd --prefix PATH ":" ${stdenv.lib.makeBinPath [
|
||||
acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables
|
||||
(writeShellScriptBin "apparmor_parser" ''
|
||||
exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@"
|
||||
'')
|
||||
]}
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue