Merge pull request #130021 from neosimsim/fix-emacs-override-examples

emacs: fix overrideScope' examples
This commit is contained in:
adisbladis 2021-08-04 03:08:33 -05:00 committed by GitHub
commit f09a770d9c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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; 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

View file

@ -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 ])
``` ```
*/ */