summary refs log tree commit diff
diff options
context:
space:
mode:
authorJonathan Ringer <jonringer117@gmail.com>2020-11-01 14:08:37 -0800
committerJonathan Ringer <jonringer@users.noreply.github.com>2020-11-01 19:59:06 -0800
commitc6afa8820b528cec7e889e462cbcab84c0313b41 (patch)
tree25a081599659841e05d67185e5a3ed38aa25a4b2
parent613adb0e8809c51e02e6361c2e88068b6ec079bb (diff)
downloadnixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.tar
nixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.tar.gz
nixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.tar.bz2
nixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.tar.lz
nixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.tar.xz
nixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.tar.zst
nixpkgs-c6afa8820b528cec7e889e462cbcab84c0313b41.zip
anbox: kernel.features can be null
-rw-r--r--pkgs/os-specific/linux/anbox/kmod.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/anbox/kmod.nix b/pkgs/os-specific/linux/anbox/kmod.nix
index 6eb74ca25f6..896beaf3056 100644
--- a/pkgs/os-specific/linux/anbox/kmod.nix
+++ b/pkgs/os-specific/linux/anbox/kmod.nix
@@ -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 ];
   };