Remove unnecessary "sort" call
attrNames already returns names in sorted order.
This commit is contained in:
parent
7f3f30b782
commit
b70a979c69
@ -39,7 +39,7 @@ in
|
|||||||
let content = readDir dir; in
|
let content = readDir dir; in
|
||||||
map (n: import (dir + ("/" + n)))
|
map (n: import (dir + ("/" + n)))
|
||||||
(builtins.filter (n: builtins.match ".*\.nix" n != null)
|
(builtins.filter (n: builtins.match ".*\.nix" n != null)
|
||||||
(sort lessThan (attrNames content)));
|
(attrNames content));
|
||||||
in
|
in
|
||||||
if dirPath != "" then
|
if dirPath != "" then
|
||||||
overlays dirPath
|
overlays dirPath
|
||||||
|
Loading…
Reference in New Issue
Block a user