diff --git a/pkgs/lib/modules.nix b/pkgs/lib/modules.nix index 4af87ec6844..08c26e72f72 100644 --- a/pkgs/lib/modules.nix +++ b/pkgs/lib/modules.nix @@ -341,7 +341,7 @@ rec { else if isAttrs options && lib.attrNames m.options != [] then all (name: lib.addErrorContext "${eol - }while checking the attribute '${addName name}'.${eol + }while checking the attribute `${addName name}':${eol }" (checkModule (addName name) (selectModule name m)) ) (lib.attrNames m.config) else