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