Merge pull request #189836 from erikarvstedt/options-definitionsWithLocations

lib/modules: add `definitionsWithLocations` to evaluated options

authored by Robert Hensing and committed by GitHub cc6dce5c 16052c1c

+1
+1
lib/modules.nix
··· 720 720 inherit (res.defsFinal') highestPrio; 721 721 definitions = map (def: def.value) res.defsFinal; 722 722 files = map (def: def.file) res.defsFinal; 723 + definitionsWithLocations = res.defsFinal; 723 724 inherit (res) isDefined; 724 725 # This allows options to be correctly displayed using `${options.path.to.it}` 725 726 __toString = _: showOption loc;