Remove unnecessary "sort" call

attrNames already returns names in sorted order.
This commit is contained in:
Eelco Dolstra 2017-02-01 20:25:58 +01:00
parent 7f3f30b782
commit b70a979c69
No known key found for this signature in database
GPG Key ID: 8170B4726D7198DE

View File

@ -39,7 +39,7 @@ in
let content = readDir dir; in
map (n: import (dir + ("/" + n)))
(builtins.filter (n: builtins.match ".*\.nix" n != null)
(sort lessThan (attrNames content)));
(attrNames content));
in
if dirPath != "" then
overlays dirPath