diff --git a/doc/functions/overrides.xml b/doc/functions/overrides.xml
index 5532951d1a79..4ba861bd1a42 100644
--- a/doc/functions/overrides.xml
+++ b/doc/functions/overrides.xml
@@ -11,8 +11,9 @@
These functions are used to make changes to packages, returning only single
- packages. Overlays, on the other hand, can be used to combine the overridden
- packages across the entire package set of Nixpkgs.
+ packages. Overlays, on the other
+ hand, can be used to combine the overridden packages across the entire
+ package set of Nixpkgs.