1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00

zsh: use attribute set to define files

To avoid warning message concerning deprecation of the `loaOf` type.
This commit is contained in:
Robert Helgesson 2020-01-11 19:49:15 +01:00
parent 07dc3e5425
commit cff9ee7cce
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -437,10 +437,10 @@ in
# but allow the user to opt out. # but allow the user to opt out.
programs.zsh.enableCompletion = mkDefault true; programs.zsh.enableCompletion = mkDefault true;
home.file = map (plugin: { home.file =
target = "${pluginsDir}/${plugin.name}"; foldl' (a: b: a // b) {}
source = plugin.src; (map (plugin: { "${pluginsDir}/${plugin.name}".source = plugin.src; })
}) cfg.plugins; cfg.plugins);
}) })
]); ]);
} }