3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/editors/emacs/elisp-packages/nongnu-packages.nix

37 lines
774 B
Nix
Raw Normal View History

2021-06-14 03:53:49 +01:00
/*
# Updating
To update the list of packages from nongnu (ELPA),
1. Run `./update-nongnu`.
2. Check for evaluation errors:
env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../.. -A emacs.pkgs.nongnuPackages
3. Run `git commit -m "nongnu-packages $(date -Idate)" -- nongnu-generated.nix`
2021-06-14 03:53:49 +01:00
*/
{ lib, buildPackages }:
2021-06-14 03:53:49 +01:00
self: let
generateNongnu = lib.makeOverridable ({
generated ? ./nongnu-generated.nix
}: let
imported = import generated {
callPackage = pkgs: args: self.callPackage pkgs (args // {
# Use custom elpa url fetcher with fallback/uncompress
fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
});
2021-06-14 03:53:49 +01:00
};
super = imported;
overrides = {
};
in super // overrides);
in generateNongnu { }