Merge pull request #130021 from neosimsim/fix-emacs-override-examples
emacs: fix overrideScope' examples
This commit is contained in:
commit
f09a770d9c
|
@ -110,7 +110,7 @@ overrides = self: super: rec {
|
||||||
haskell-mode = self.melpaPackages.haskell-mode;
|
haskell-mode = self.melpaPackages.haskell-mode;
|
||||||
...
|
...
|
||||||
};
|
};
|
||||||
((emacsPackagesFor emacs).overrideScope' overrides).emacs.pkgs.withPackages
|
((emacsPackagesFor emacs).overrideScope' overrides).withPackages
|
||||||
(p: with p; [
|
(p: with p; [
|
||||||
# here both these package will use haskell-mode of our own choice
|
# here both these package will use haskell-mode of our own choice
|
||||||
ghc-mod
|
ghc-mod
|
||||||
|
|
|
@ -27,7 +27,7 @@ let customEmacsPackages =
|
||||||
# use the unstable MELPA version of magit
|
# use the unstable MELPA version of magit
|
||||||
magit = self.melpaPackages.magit;
|
magit = self.melpaPackages.magit;
|
||||||
});
|
});
|
||||||
in customEmacsPackages.emacs.pkgs.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
|
in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
|
||||||
```
|
```
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue