mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 04:33:57 +00:00
33 lines
557 B
Nix
33 lines
557 B
Nix
|
/*
|
||
|
|
||
|
# 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 { }
|