emacs.pkgs.elpaPackages: Use custom elpa fetcher

This commit is contained in:
adisbladis 2021-08-06 16:26:09 -05:00 committed by Rasmus Précenth
parent 66966119f3
commit 6a5fc6beca
No known key found for this signature in database
GPG Key ID: E0D6F12345AD5641
2 changed files with 6 additions and 3 deletions

View File

@ -21,7 +21,7 @@ formats commits for you.
*/ */
{ lib, stdenv, texinfo, writeText }: { lib, stdenv, buildPackages, texinfo, writeText }:
self: let self: let
@ -41,7 +41,10 @@ self: let
}: let }: let
imported = import generated { 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" ]; super = removeAttrs imported [ "dash" ];

View File

@ -26,7 +26,7 @@
let let
mkElpaPackages = { pkgs, lib }: import ../applications/editors/emacs/elisp-packages/elpa-packages.nix { 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; inherit lib;
}; };