anbox: kernel.features can be null

This commit is contained in:
Jonathan Ringer 2020-11-01 14:08:37 -08:00 committed by Jonathan Ringer
parent 613adb0e88
commit c6afa8820b

View File

@ -36,7 +36,7 @@ stdenv.mkDerivation {
homepage = "https://github.com/anbox/anbox-modules";
license = licenses.gpl2;
platforms = platforms.linux;
broken = (versionOlder kernel.version "4.4") || (kernel.features.grsecurity);
broken = (versionOlder kernel.version "4.4") || (kernel.features.grsecurity or false);
maintainers = with maintainers; [ edwtjo ];
};