3
0
Fork 0
forked from mirrors/nixpkgs

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