mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 13:40:28 +03:00
lib.types.deferredModule: Improve reported location
This commit is contained in:
parent
38b7709a6f
commit
a2c29561e7
2 changed files with 2 additions and 2 deletions
|
@ -544,7 +544,7 @@ rec {
|
|||
name = "deferredModule";
|
||||
description = "module";
|
||||
check = t: isAttrs t || isFunction t;
|
||||
merge = loc: defs: map (def: lib.setDefaultModuleLocation "${showOption loc} from ${def.file}" def.value) defs;
|
||||
merge = loc: defs: map (def: lib.setDefaultModuleLocation "${def.file}, via option ${showOption loc}" def.value) defs;
|
||||
};
|
||||
|
||||
# The type of a type!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue