doc/using/overrides: it is possible to use previous arguments in .override

Artturin fb643f32 0fdae315

Changed files
+6
doc
+6
doc/using/overrides.chapter.md
···
pkgs.foo.override { arg1 = val1; arg2 = val2; ... }
```
+
It's also possible to access the previous arguments.
+
+
```nix
+
pkgs.foo.override (previous: { arg1 = previous.arg1; ... })
+
```
+
<!-- TODO: move below programlisting to a new section about extending and overlays and reference it -->
```nix