emacs: fix overrideScope' examples

This commit is contained in:
Alexander Ben Nasrallah 2021-07-12 16:45:17 +02:00
parent eb93bf6eed
commit c81250a1d3
2 changed files with 2 additions and 2 deletions

View File

@ -110,7 +110,7 @@ overrides = self: super: rec {
haskell-mode = self.melpaPackages.haskell-mode;
...
};
((emacsPackagesFor emacs).overrideScope' overrides).emacs.pkgs.withPackages
((emacsPackagesFor emacs).overrideScope' overrides).withPackages
(p: with p; [
# here both these package will use haskell-mode of our own choice
ghc-mod

View File

@ -27,7 +27,7 @@ let customEmacsPackages =
# use the unstable MELPA version of magit
magit = self.melpaPackages.magit;
});
in customEmacsPackages.emacs.pkgs.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
in customEmacsPackages.withPackages (epkgs: [ epkgs.evil epkgs.magit ])
```
*/