mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
linux_5_4_hardened: don't build on x86_64-linux anymore
5.4 hasn't configured successfully on x86_64-linux for months. People don't seem to care, but the 5.4 packages clutter failure lists on Hydra + tools. https://hydra.nixos.org/job/nixpkgs/trunk/linux_5_4_hardened.x86_64-linux/all Perhaps surprisingly, it works on aarch64-linux and also on older kernels.
This commit is contained in:
parent
7ea33d2d0d
commit
55812d7b48
|
@ -8,13 +8,14 @@
|
|||
#
|
||||
# See also <nixos/modules/profiles/hardened.nix>
|
||||
|
||||
{ lib, version }:
|
||||
{ stdenv, lib, version }:
|
||||
|
||||
with lib;
|
||||
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.
|
||||
|
|
|
@ -36,7 +36,7 @@ let
|
|||
modDirVersion' = builtins.replaceStrings [ kernel.version ] [ version ] kernel.modDirVersion;
|
||||
in kernel.override {
|
||||
structuredExtraConfig = import ../os-specific/linux/kernel/hardened/config.nix {
|
||||
inherit lib version;
|
||||
inherit stdenv lib version;
|
||||
};
|
||||
argsOverride = {
|
||||
inherit version;
|
||||
|
|
Loading…
Reference in a new issue