melpa-packages: fix evaluation error

This commit is contained in:
Thomas Tuegel 2015-12-19 09:44:21 -06:00
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" ];