5 To update the list of packages from nongnu (ELPA),
7 1. Run `./update-nongnu`.
8 2. Check for evaluation errors:
9 # "../../../../../" points to the default.nix from root of Nixpkgs tree
10 env NIXPKGS_ALLOW_BROKEN=1 nix-instantiate ../../../../../ -A emacs.pkgs.nongnuPackages
11 3. Run `git commit -m "nongnu-packages $(date -Idate)" -- nongnu-generated.nix`
15 { lib, pkgs, buildPackages }:
19 generateNongnu = lib.makeOverridable ({
20 generated ? ./nongnu-generated.nix
23 imported = import generated {
24 callPackage = pkgs: args: self.callPackage pkgs (args // {
25 # Use custom elpa url fetcher with fallback/uncompress
26 fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
32 commonOverrides = import ./nongnu-common-overrides.nix pkgs lib;
34 overrides = self: super: { };
37 let super' = super // (commonOverrides self super); in super' // (overrides self super'));