melpa-packages: fix evaluation error
This commit is contained in:
parent
540d028bf5
commit
e5b082fc7b
@ -24,13 +24,14 @@ let
|
||||
mkPackage = self: name: recipe:
|
||||
let drv =
|
||||
{ melpaBuild, stdenv, fetchurl, fetchcvs, fetchFromGitHub, fetchFromGitLab
|
||||
, fetchgit, fetchhg }:
|
||||
, fetchgit, fetchhg, fetchsvn }:
|
||||
let
|
||||
unknownFetcher =
|
||||
abort "emacs-${name}: unknown fetcher '${recipe.fetch.tag}'";
|
||||
fetch =
|
||||
{
|
||||
inherit fetchurl fetchcvs fetchFromGitHub fetchFromGitLab fetchgit fetchhg;
|
||||
inherit fetchurl fetchcvs fetchFromGitHub fetchFromGitLab fetchgit fetchhg
|
||||
fetchsvn;
|
||||
}."${recipe.fetch.tag}"
|
||||
or unknownFetcher;
|
||||
args = builtins.removeAttrs recipe.fetch [ "tag" ];
|
||||
|
Loading…
Reference in New Issue
Block a user