emacs.pkgs.elpaPackages: Use custom elpa fetcher
This commit is contained in:
parent
66966119f3
commit
6a5fc6beca
|
@ -21,7 +21,7 @@ formats commits for you.
|
|||
|
||||
*/
|
||||
|
||||
{ lib, stdenv, texinfo, writeText }:
|
||||
{ lib, stdenv, buildPackages, texinfo, writeText }:
|
||||
|
||||
self: let
|
||||
|
||||
|
@ -41,7 +41,10 @@ self: let
|
|||
}: let
|
||||
|
||||
imported = import generated {
|
||||
inherit (self) callPackage;
|
||||
callPackage = pkgs: args: self.callPackage pkgs (args // {
|
||||
# Use custom elpa url fetcher with fallback/uncompress
|
||||
fetchurl = buildPackages.callPackage ./fetchelpa.nix { };
|
||||
});
|
||||
};
|
||||
|
||||
super = removeAttrs imported [ "dash" ];
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
let
|
||||
|
||||
mkElpaPackages = { pkgs, lib }: import ../applications/editors/emacs/elisp-packages/elpa-packages.nix {
|
||||
inherit (pkgs) stdenv texinfo writeText;
|
||||
inherit (pkgs) stdenv texinfo writeText buildPackages;
|
||||
inherit lib;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue