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

linux: disable WERROR by default
This commit is contained in:
Sergei Trofimovich 2022-06-02 07:34:37 +00:00 committed by GitHub
commit 1bd8058f66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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