diff options
author | John Ericson <subscribe@JohnEricson.me> | 2018-09-24 18:04:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 18:04:18 -0400 |
commit | 22ce6141125760018ec525c7a6d8672604e0eddb (patch) | |
tree | e048fb6df861b6395e7e523d25715ac7c8b2ddaa /doc | |
parent | 39443c6bb7f9ea3df4488b9e01eddd48317d1137 (diff) | |
parent | b9dce11712d2bfc8cd367df5a7f737a5cec1e252 (diff) |
Merge pull request #47238 from obsidiansystems/overrideScope-order
lib: Deprecate `overrideScope` in lieu of `overrideScope'` taking arguments in the conventional order
Diffstat (limited to 'doc')
-rw-r--r-- | doc/package-notes.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/package-notes.xml b/doc/package-notes.xml index 05e820bcabe5..d8f55ef0a856 100644 --- a/doc/package-notes.xml +++ b/doc/package-notes.xml @@ -643,15 +643,15 @@ cp ${myEmacsConfig} $out/share/emacs/site-lisp/default.el required dependencies manually - but it's tedious and there is always a possibility that an unwanted dependency will sneak in through some other package. To completely override such a package you can use - <varname>overrideScope</varname>. + <varname>overrideScope'</varname>. </para> <screen> -overrides = super: self: rec { +overrides = self: super: rec { haskell-mode = self.melpaPackages.haskell-mode; ... }; -((emacsPackagesNgGen emacs).overrideScope overrides).emacsWithPackages (p: with p; [ +((emacsPackagesNgGen emacs).overrideScope' overrides).emacsWithPackages (p: with p; [ # here both these package will use haskell-mode of our own choice ghc-mod dante |