diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-02-21 23:41:34 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-02-22 21:34:27 +0000 |
commit | bfef542b67ccfff0cfdc6f827db72910c965092e (patch) | |
tree | 259eae8dba8ad420a0d4382d0e467a394c830d47 /pkgs/os-specific/linux | |
parent | a3c21220fdfe6264f71e98ac7c9dc63fdf671b1f (diff) |
linux_5_4_hardened: use meta.broken, not assert
Respects NIXPKGS_ALLOW_BROKEN and allows attributes to be accessed.
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r-- | pkgs/os-specific/linux/kernel/hardened/config.nix | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/kernel/hardened/config.nix b/pkgs/os-specific/linux/kernel/hardened/config.nix index efc64e81af551..5a1a710ba3b78 100644 --- a/pkgs/os-specific/linux/kernel/hardened/config.nix +++ b/pkgs/os-specific/linux/kernel/hardened/config.nix @@ -15,7 +15,6 @@ with lib.kernel; with (lib.kernel.whenHelpers version); assert (versionAtLeast version "4.9"); -assert (stdenv.hostPlatform.isx86_64 -> versions.majorMinor version != "5.4"); { # Report BUG() conditions and kill the offending process. |