2016-05-07 22:50:58 +00:00
|
|
|
/*
|
|
|
|
|
|
|
|
# Updating
|
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
To update the list of packages from Org (ELPA),
|
2016-05-07 22:50:58 +00:00
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
1. Run `./update-org`.
|
|
|
|
2. Check for evaluation errors: `nix-instantiate ../../../.. -A emacsPackagesNg.orgPackages`.
|
|
|
|
3. `git commit -m "org-packages $(date -Idate)" -- org-generated.nix`
|
2016-05-07 22:50:58 +00:00
|
|
|
|
|
|
|
*/
|
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
{ lib }:
|
2016-05-07 22:50:58 +00:00
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
self: let
|
2016-05-07 22:50:58 +00:00
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
generateOrg = lib.makeOverridable ({
|
|
|
|
generated ? ./org-generated.nix
|
|
|
|
}: let
|
2016-05-07 22:50:58 +00:00
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
imported = import generated {
|
2016-05-07 22:50:58 +00:00
|
|
|
inherit (self) callPackage;
|
|
|
|
};
|
|
|
|
|
|
|
|
super = imported;
|
|
|
|
|
|
|
|
overrides = {
|
|
|
|
};
|
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
in super // overrides);
|
2016-05-07 22:50:58 +00:00
|
|
|
|
2019-08-18 09:58:17 +00:00
|
|
|
in generateOrg { }
|