* Report file locations in the stack-trace when multiple option
declarations cannot be merged. svn path=/nixpkgs/trunk/; revision=18149
This commit is contained in:
parent
d8bbae877a
commit
09bed4bffc
@ -217,9 +217,14 @@ rec {
|
|||||||
) declarations;
|
) declarations;
|
||||||
|
|
||||||
decl =
|
decl =
|
||||||
addOptionMakeUp
|
lib.addErrorContext "${eol
|
||||||
{ name = addName name; recurseInto = recurseForOption; }
|
}while enhancing option '${addName name}'.${eol
|
||||||
(mergeOptionDecls decls);
|
}${errorSource declarations}${eol
|
||||||
|
}" (
|
||||||
|
addOptionMakeUp
|
||||||
|
{ name = addName name; recurseInto = recurseForOption; }
|
||||||
|
(mergeOptionDecls decls)
|
||||||
|
);
|
||||||
|
|
||||||
value = decl // (with config; {
|
value = decl // (with config; {
|
||||||
inherit (config) isNotDefined;
|
inherit (config) isNotDefined;
|
||||||
|
Loading…
Reference in New Issue
Block a user