linux: clearer origin for settings configuration
adds _file so that nix may have a chance to display what file the conflictings settings come from.
This commit is contained in:
parent
29c120c065
commit
2207378c9e
@ -151,8 +151,8 @@ let
|
|||||||
moduleStructuredConfig = (lib.evalModules {
|
moduleStructuredConfig = (lib.evalModules {
|
||||||
modules = [
|
modules = [
|
||||||
module
|
module
|
||||||
{ settings = commonStructuredConfig; }
|
{ settings = commonStructuredConfig; _file = "pkgs/os-specific/linux/kernel/common-config.nix"; }
|
||||||
{ settings = structuredExtraConfig; }
|
{ settings = structuredExtraConfig; _file = "structuredExtraConfig"; }
|
||||||
]
|
]
|
||||||
++ structuredConfigFromPatches
|
++ structuredConfigFromPatches
|
||||||
;
|
;
|
||||||
|
@ -278,7 +278,8 @@ in
|
|||||||
assert stdenv.lib.versionAtLeast version "4.14" -> libelf != null;
|
assert stdenv.lib.versionAtLeast version "4.14" -> libelf != null;
|
||||||
assert stdenv.lib.versionAtLeast version "4.15" -> utillinux != null;
|
assert stdenv.lib.versionAtLeast version "4.15" -> utillinux != null;
|
||||||
stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.platform kernelPatches configfile) // {
|
stdenv.mkDerivation ((drvAttrs config stdenv.hostPlatform.platform kernelPatches configfile) // {
|
||||||
name = "linux-${version}";
|
pname = "linux";
|
||||||
|
inherit version;
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user