1
0
Fork 0
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:
Robert Helgesson 2017-02-21 21:55:07 +01:00
parent d2e8c57bd5
commit ee9bc66f69
No known key found for this signature in database
GPG key ID: C3DB11069E65DC86

View file

@ -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