mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
home-environment: show full file path in error
The file name alone may be misleading.
This commit is contained in:
parent
d2e8c57bd5
commit
ee9bc66f69
1 changed files with 2 additions and 2 deletions
|
@ -213,8 +213,8 @@ in
|
|||
assertions = [
|
||||
(let
|
||||
badFiles =
|
||||
filter (hasPrefix ".")
|
||||
(map (v: baseNameOf (toString v.source))
|
||||
filter (f: hasPrefix "." (baseNameOf f))
|
||||
(map (v: toString v.source)
|
||||
(attrValues cfg.file));
|
||||
badFilesStr = toString badFiles;
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue