criu: add gnutar and gzip in PATH
These binaries are used for some tmpfs-related features of criu as seen here:
fbe26923e8/criu/filesystems.c (L420)
.
These tmpfs-related features are used by e.g. docker checkpoint, see:
https://github.com/NixOS/nixpkgs/pull/230109 .
This commit is contained in:
parent
3e313808bd
commit
5994808448
1 changed files with 4 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, lib, fetchFromGitHub, fetchpatch, protobuf, protobufc, asciidoc, iptables
|
||||
, xmlto, docbook_xsl, libpaper, libnl, libcap, libnet, pkg-config, iproute2
|
||||
, which, python3, makeWrapper, docbook_xml_dtd_45, perl, nftables, libbsd
|
||||
, xmlto, docbook_xsl, libpaper, libnl, libcap, libnet, pkg-config, iproute2, gzip
|
||||
, which, python3, makeWrapper, docbook_xml_dtd_45, perl, nftables, libbsd, gnutar
|
||||
, buildPackages
|
||||
}:
|
||||
|
||||
|
@ -107,7 +107,8 @@ stdenv.mkDerivation rec {
|
|||
postFixup = ''
|
||||
wrapProgram $out/bin/criu \
|
||||
--set-default CR_IPTABLES ${iptables}/bin/iptables \
|
||||
--set-default CR_IP_TOOL ${iproute2}/bin/ip
|
||||
--set-default CR_IP_TOOL ${iproute2}/bin/ip \
|
||||
--prefix PATH : ${lib.makeBinPath [ gnutar gzip ]}
|
||||
wrapPythonPrograms
|
||||
'';
|
||||
|
||||
|
|
Loading…
Reference in a new issue