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