summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix
blob: c3459448c281d43ddf37a1cdaf5a9156b596c574 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*

# Updating

To update the list of packages from nongnu (ELPA),

1. Run `./update-nongnu`.
2. Check for evaluation errors: `nix-instantiate ../../../../.. -A emacs.pkgs.nongnuPackages`.
3. Run `git commit -m "org-packages $(date -Idate)" -- nongnu-generated.nix`

*/

{ lib }:

self: let

  generateNongnu = lib.makeOverridable ({
    generated ? ./nongnu-generated.nix
  }: let

    imported = import generated {
      inherit (self) callPackage;
    };

    super = imported;

    overrides = {
    };

  in super // overrides);

in generateNongnu { }