about summary refs log tree commit diff
path: root/doc/builders
diff options
context:
space:
mode:
authorArtturin <Artturin@artturin.com>2023-08-14 08:21:26 +0300
committerArtturin <Artturin@artturin.com>2023-08-14 18:46:47 +0300
commitb93da3f4b77b0f3c441212c17bba02360f7fadee (patch)
tree7c0f9c53de08bb318c96d91876af662f7597429c /doc/builders
parent3c1f82f99ee02dad4eb480f6216ae2ece445d11d (diff)
downloadnixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.tar
nixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.tar.gz
nixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.tar.bz2
nixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.tar.lz
nixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.tar.xz
nixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.tar.zst
nixlib-b93da3f4b77b0f3c441212c17bba02360f7fadee.zip
treewide: `overrideScope'` -> `overrideScope`
`lib.makeScope` `overrideScope'` has been renamed to `overrideScope`

`fd --type f | xargs sd --string-mode "overrideScope'" "overrideScope"`
Diffstat (limited to 'doc/builders')
-rw-r--r--doc/builders/packages/emacs.section.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/builders/packages/emacs.section.md b/doc/builders/packages/emacs.section.md
index a202606966c0..d46f890858f4 100644
--- a/doc/builders/packages/emacs.section.md
+++ b/doc/builders/packages/emacs.section.md
@@ -103,14 +103,14 @@ You can install it like any other packages via `nix-env -iA myEmacs`. However, t
 
 This provides a fairly full Emacs start file. It will load in addition to the user's personal config. You can always disable it by passing `-q` to the Emacs command.
 
-Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the 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 `overrideScope'`.
+Sometimes `emacs.pkgs.withPackages` is not enough, as this package set has some priorities imposed on packages (with the lowest priority assigned to Melpa Unstable, and the highest for packages manually defined in `pkgs/top-level/emacs-packages.nix`). But you can't control these priorities when some package is installed as a dependency. You can override it on a per-package-basis, providing all the 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 `overrideScope`.
 
 ```nix
 overrides = self: super: rec {
   haskell-mode = self.melpaPackages.haskell-mode;
   ...
 };
-((emacsPackagesFor emacs).overrideScope' overrides).withPackages
+((emacsPackagesFor emacs).overrideScope overrides).withPackages
   (p: with p; [
     # here both these package will use haskell-mode of our own choice
     ghc-mod