emacs: fix overrideScope' examples

Changed files
+2 -2
doc
builders
packages
pkgs
build-support
emacs
+1 -1
doc/builders/packages/emacs.section.md
···
haskell-mode = self.melpaPackages.haskell-mode;
...
};
-
((emacsPackagesFor emacs).overrideScope' overrides).emacs.pkgs.withPackages
(p: with p; [
# here both these package will use haskell-mode of our own choice
ghc-mod
···
haskell-mode = self.melpaPackages.haskell-mode;
...
};
+
((emacsPackagesFor emacs).overrideScope' overrides).withPackages
(p: with p; [
# here both these package will use haskell-mode of our own choice
ghc-mod
+1 -1
pkgs/build-support/emacs/wrapper.nix
···
# use the unstable MELPA version of magit
magit = self.melpaPackages.magit;
});
-
in customEmacsPackages.emacs.pkgs.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
```
*/
···
# use the unstable MELPA version of magit
magit = self.melpaPackages.magit;
});
+
in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
```
*/