mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
lxd: add criu to path
This commit is contained in:
parent
ed86bbad84
commit
812b5d3ffd
@ -3,6 +3,7 @@
|
|||||||
, squashfsTools, iproute, iptables, ebtables, libcap, dqlite
|
, squashfsTools, iproute, iptables, ebtables, libcap, dqlite
|
||||||
, sqlite-replication
|
, sqlite-replication
|
||||||
, writeShellScriptBin, apparmor-profiles, apparmor-parser
|
, writeShellScriptBin, apparmor-profiles, apparmor-parser
|
||||||
|
, criu
|
||||||
, bash
|
, bash
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -33,7 +34,7 @@ buildGoPackage rec {
|
|||||||
rm $bin/bin/{deps,macaroon-identity,generate}
|
rm $bin/bin/{deps,macaroon-identity,generate}
|
||||||
|
|
||||||
wrapProgram $bin/bin/lxd --prefix PATH : ${stdenv.lib.makeBinPath [
|
wrapProgram $bin/bin/lxd --prefix PATH : ${stdenv.lib.makeBinPath [
|
||||||
acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables bash
|
acl rsync gnutar xz btrfs-progs gzip dnsmasq squashfsTools iproute iptables ebtables bash criu
|
||||||
(writeShellScriptBin "apparmor_parser" ''
|
(writeShellScriptBin "apparmor_parser" ''
|
||||||
exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@"
|
exec '${apparmor-parser}/bin/apparmor_parser' -I '${apparmor-profiles}/etc/apparmor.d' "$@"
|
||||||
'')
|
'')
|
||||||
|
Loading…
Reference in New Issue
Block a user