Fix documentation of emacsWithPackages
After [this change](https://github.com/NixOS/nixpkgs/commit/901a778c7744b25013168dde1a2a548ad531fd78), it should be `overrideScope` instead of `override`.
commit5a78bed2bb5b3499d7d160cda2f1413ede0809f7
authorUtku Demir <me@utdemir.com>
dateTue 2 May 2017, 09:52 (10 years ago)
parent28809ce
pkgs/build-support/emacs/wrapper.nix+1−1
@@ -21,7 +21,7 @@ set which contains `emacsWithPackages`. For example, to override
2121`emacsPackagesNg.emacsWithPackages`,
2222```
2323let customEmacsPackages =
24− emacsPackagesNg.override (super: self: {
24+ emacsPackagesNg.overrideScope (super: self: {
2525 # use a custom version of emacs
2626 emacs = ...;
2727 # use the unstable MELPA version of magit