4 To update the list of packages from nongnu devel (ELPA),
6 1. Run `./update-nongnu-devel`.
7 2. Check for evaluation errors:
8 # "../../../../../" points to the default.nix from root of Nixpkgs tree
9 env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.nongnuDevelPackages
10 3. Run `git commit -m "nongnu-devel-packages $(date -Idate)" -- nongnu-devel-generated.nix`
22 inherit (import ./lib-override-helper.nix pkgs lib)
26 generateNongnu = lib.makeOverridable (
28 generated ? ./nongnu-devel-generated.nix,
32 imported = import generated {
35 self.callPackage pkgs (
38 # Use custom elpa url fetcher with fallback/uncompress
39 fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
46 commonOverrides = import ./nongnu-common-overrides.nix pkgs lib;
48 overrides = self: super: {
49 # missing optional dependencies
50 haskell-tng-mode = addPackageRequires super.haskell-tng-mode [
58 super' = super // (commonOverrides self super);
60 super' // (overrides self super')