mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 06:30:28 +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