1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01: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 = [ assertions = [
(let (let
badFiles = badFiles =
filter (hasPrefix ".") filter (f: hasPrefix "." (baseNameOf f))
(map (v: baseNameOf (toString v.source)) (map (v: toString v.source)
(attrValues cfg.file)); (attrValues cfg.file));
badFilesStr = toString badFiles; badFilesStr = toString badFiles;
in in