crun: remove toplevel system attr

This commit is contained in:
Ryan Burns 2021-10-22 14:03:38 -07:00
parent 2bbc2eaed3
commit 4423c7ecbc

View file

@ -11,7 +11,6 @@
, yajl
, nixosTests
, criu
, system
}:
let
@ -52,7 +51,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libcap libseccomp systemd yajl ]
# Criu currently only builds on x86_64-linux
++ lib.optional (lib.elem system criu.meta.platforms) criu;
++ lib.optional (lib.elem stdenv.hostPlatform.system criu.meta.platforms) criu;
enableParallelBuilding = true;