mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
4003f8cbc7
The previous names are now aliases and shouldn't be used anywhere inside nixpkgs.
33 lines
529 B
Nix
33 lines
529 B
Nix
/*
|
|
|
|
# Updating
|
|
|
|
To update the list of packages from Org (ELPA),
|
|
|
|
1. Run `./update-org`.
|
|
2. Check for evaluation errors: `nix-instantiate ../../../.. -A emacs.pkgs.orgPackages`.
|
|
3. `git commit -m "org-packages $(date -Idate)" -- org-generated.nix`
|
|
|
|
*/
|
|
|
|
{ lib }:
|
|
|
|
self: let
|
|
|
|
generateOrg = lib.makeOverridable ({
|
|
generated ? ./org-generated.nix
|
|
}: let
|
|
|
|
imported = import generated {
|
|
inherit (self) callPackage;
|
|
};
|
|
|
|
super = imported;
|
|
|
|
overrides = {
|
|
};
|
|
|
|
in super // overrides);
|
|
|
|
in generateOrg { }
|