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

Artturin fb643f32 0fdae315

+6
+6
doc/using/overrides.chapter.md
··· 16 pkgs.foo.override { arg1 = val1; arg2 = val2; ... } 17 ``` 18 19 <!-- TODO: move below programlisting to a new section about extending and overlays and reference it --> 20 21 ```nix
··· 16 pkgs.foo.override { arg1 = val1; arg2 = val2; ... } 17 ``` 18 19 + It's also possible to access the previous arguments. 20 + 21 + ```nix 22 + pkgs.foo.override (previous: { arg1 = previous.arg1; ... }) 23 + ``` 24 + 25 <!-- TODO: move below programlisting to a new section about extending and overlays and reference it --> 26 27 ```nix