From c2ef7b1cbf5c25ca14efa3aabb3b076528f46b0a Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Thu, 11 Feb 2021 13:58:56 +0100 Subject: [PATCH] crun: add criu support Adding the criu dependency allows using the feature, too: ``` > ./result/bin/crun --version crun version 0.17 commit: 0.17 spec: 1.0.0 +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +YAJL ``` Signed-off-by: Sascha Grunert --- pkgs/applications/virtualization/crun/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/virtualization/crun/default.nix b/pkgs/applications/virtualization/crun/default.nix index 143d2fdcea3e..3d73ccbf48a2 100644 --- a/pkgs/applications/virtualization/crun/default.nix +++ b/pkgs/applications/virtualization/crun/default.nix @@ -10,6 +10,7 @@ , systemd , yajl , nixosTests +, criu }: let @@ -47,7 +48,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ autoreconfHook go-md2man pkg-config python3 ]; - buildInputs = [ libcap libseccomp systemd yajl ]; + buildInputs = [ criu libcap libseccomp systemd yajl ]; enableParallelBuilding = true;