Merge pull request #189836 from erikarvstedt/options-definitionsWithLocations

lib/modules: add `definitionsWithLocations` to evaluated options
This commit is contained in:
Robert Hensing
2022-09-24 12:43:19 +01:00
committed by GitHub
+1
View File
@@ -720,6 +720,7 @@ rec {
inherit (res.defsFinal') highestPrio;
definitions = map (def: def.value) res.defsFinal;
files = map (def: def.file) res.defsFinal;
definitionsWithLocations = res.defsFinal;
inherit (res) isDefined;
# This allows options to be correctly displayed using `${options.path.to.it}`
__toString = _: showOption loc;