mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19: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:
parent
07dc3e5425
commit
cff9ee7cce
1 changed files with 4 additions and 4 deletions
|
@ -437,10 +437,10 @@ in
|
|||
# but allow the user to opt out.
|
||||
programs.zsh.enableCompletion = mkDefault true;
|
||||
|
||||
home.file = map (plugin: {
|
||||
target = "${pluginsDir}/${plugin.name}";
|
||||
source = plugin.src;
|
||||
}) cfg.plugins;
|
||||
home.file =
|
||||
foldl' (a: b: a // b) {}
|
||||
(map (plugin: { "${pluginsDir}/${plugin.name}".source = plugin.src; })
|
||||
cfg.plugins);
|
||||
})
|
||||
]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue