lib/default.nix: remove useless lib.unique
This commit is contained in:
parent
7a44533bd8
commit
7ac50b6b93
|
@ -148,9 +148,7 @@ in {
|
||||||
addr = hostRegistry.hosts.${host}.${key};
|
addr = hostRegistry.hosts.${host}.${key};
|
||||||
in if result ? "${addr}"
|
in if result ? "${addr}"
|
||||||
then result // {
|
then result // {
|
||||||
"${addr}" = lib.unique (
|
"${addr}" = result.${addr} ++ [ host ];
|
||||||
result.${addr} ++ [ host ]
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
else result // {
|
else result // {
|
||||||
"${addr}" = [ host ];
|
"${addr}" = [ host ];
|
||||||
|
|
Loading…
Reference in New Issue