1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 09:28:32 +02: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