lib/modules: add _internal to valueMeta of checkedAndMerged

This commit is contained in:
Johannes Kirschbauer
2025-08-20 21:55:19 +02:00
parent 4f802d935c
commit bb0bd3d413

View File

@@ -1200,9 +1200,19 @@ let
)
(
if type.merge ? v2 then
type.merge.v2 {
inherit loc;
defs = defsFinal;
let
r = type.merge.v2 {
inherit loc;
defs = defsFinal;
};
in
r
// {
valueMeta = r.valueMeta // {
_internal = {
inherit type;
};
};
}
else
{
@@ -1621,13 +1631,11 @@ let
New option path as list of strings.
*/
to,
/**
Release number of the first release that contains the rename, ignoring backports.
Set it to the upcoming release, matching the nixpkgs/.version file.
*/
sinceRelease,
}:
doRename {
inherit from to;