nxp-imx: fix unused modules errors

https://github.com/NixOS/nixpkgs/pull/366004
introduced a breaking change that if a module is declared but it is not
being used it will fail.

Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
This commit is contained in:
Brian McGillion
2025-01-23 00:17:20 +04:00
parent 61c79181e7
commit 63c0f02ce5

View File

@@ -10,6 +10,13 @@ buildLinux (args // rec {
defconfig = "imx_v8_defconfig";
# https://github.com/NixOS/nixpkgs/pull/366004
# introduced a breaking change that if a module is declared but it is not being used it will fail
# if you try to suppress each of he errors e.g.
# REISERFS_FS_SECURITY = lib.mkForce unset; within structuredExtraConfig
# that list runs to a long 100+ modules so we go back to the previous default and ignore them
ignoreConfigErrors = true;
kernelPatches = [
];