Merge pull request #175433 from trofi/linux-disable-Werror

linux: disable WERROR by default
main
Sergei Trofimovich 2 years ago committed by GitHub
commit 1bd8058f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      pkgs/os-specific/linux/kernel/common-config.nix

@ -917,6 +917,9 @@ let
TASK_DELAY_ACCT = yes;
TASK_XACCT = yes;
TASK_IO_ACCOUNTING = yes;
# Fresh toolchains frequently break -Werror build for minor issues.
WERROR = whenAtLeast "5.15" no;
} // optionalAttrs (stdenv.hostPlatform.system == "x86_64-linux" || stdenv.hostPlatform.system == "aarch64-linux") {
# Enable CPU/memory hotplug support
# Allows you to dynamically add & remove CPUs/memory to a VM client running NixOS without requiring a reboot

Loading…
Cancel
Save