mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-09 03:56:09 +01:00
fix the unused module error accross all imx8
this fixes the unused modules error that wad introduced by https://github.com/NixOS/nixpkgs/pull/366004 Signed-off-by: Brian McGillion <bmg.avoin@gmail.com>
This commit is contained in:
parent
5f052b2663
commit
6209032a7c
3 changed files with 100 additions and 89 deletions
|
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
|
|
||||||
buildLinux (args // rec {
|
buildLinux (
|
||||||
|
args
|
||||||
|
// rec {
|
||||||
version = "5.15.71";
|
version = "5.15.71";
|
||||||
|
|
||||||
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
# modDirVersion needs to be x.y.z, will automatically add .0 if needed
|
||||||
|
|
@ -11,10 +13,7 @@ buildLinux (args // rec {
|
||||||
defconfig = "imx_v8_defconfig";
|
defconfig = "imx_v8_defconfig";
|
||||||
|
|
||||||
# https://github.com/NixOS/nixpkgs/pull/366004
|
# 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
|
# 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;
|
ignoreConfigErrors = true;
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
|
|
@ -53,4 +52,6 @@ buildLinux (args // rec {
|
||||||
rev = "3313732e9984cb8a6b10a9085c7e18d58e770d56";
|
rev = "3313732e9984cb8a6b10a9085c7e18d58e770d56";
|
||||||
sha256 = "sha256-PBRiSgjPOq4keiwPOfNOswf1Zzdbn6YOjpOgv4/Oscc=";
|
sha256 = "sha256-PBRiSgjPOq4keiwPOfNOswf1Zzdbn6YOjpOgv4/Oscc=";
|
||||||
};
|
};
|
||||||
} // (args.argsOverride or { }))
|
}
|
||||||
|
// (args.argsOverride or { })
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }@args:
|
{ pkgs, ... }@args:
|
||||||
with pkgs;
|
with pkgs;
|
||||||
buildLinux (args
|
buildLinux (
|
||||||
|
args
|
||||||
// rec {
|
// rec {
|
||||||
version = "6.1.55";
|
version = "6.1.55";
|
||||||
name = "imx8mp-linux";
|
name = "imx8mp-linux";
|
||||||
|
|
@ -10,6 +11,10 @@ with pkgs;
|
||||||
|
|
||||||
defconfig = "imx_v8_defconfig";
|
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 faill.
|
||||||
|
ignoreConfigErrors = true;
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
@ -47,4 +52,5 @@ with pkgs;
|
||||||
sha256 = "sha256-tIWt75RUrjB6KmUuAYBVyAC1dmVGSUAgqV5ROJh3xU0=";
|
sha256 = "sha256-tIWt75RUrjB6KmUuAYBVyAC1dmVGSUAgqV5ROJh3xU0=";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
// (args.argsOverride or {}))
|
// (args.argsOverride or { })
|
||||||
|
)
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,10 @@ with pkgs;
|
||||||
|
|
||||||
defconfig = "imx_v8_defconfig";
|
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 faill.
|
||||||
|
ignoreConfigErrors = true;
|
||||||
|
|
||||||
kernelPatches = [
|
kernelPatches = [
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue