melpa-stable-packages: fix evaluation error

This commit is contained in:
Thomas Tuegel 2015-12-19 09:49:57 -06:00
parent 3fbd697b24
commit 274678b38c

View File

@ -25,15 +25,15 @@ let
mkPackage = self: name: recipe: mkPackage = self: name: recipe:
let drv = let drv =
{ melpaBuild, stdenv, fetchurl, fetchcvs, fetchFromGitHub, fetchFromGitLab { melpaBuild, stdenv, fetchbzr, fetchcvs, fetchFromGitHub, fetchFromGitLab
, fetchgit, fetchhg, fetchsvn }: , fetchgit, fetchhg, fetchsvn, fetchurl }:
let let
unknownFetcher = unknownFetcher =
abort "emacs-${name}: unknown fetcher '${recipe.fetch.tag}'"; abort "emacs-${name}: unknown fetcher '${recipe.fetch.tag}'";
fetch = fetch =
{ {
inherit fetchurl fetchcvs fetchFromGitHub fetchFromGitLab fetchgit fetchhg inherit fetchbzr fetchcvs fetchFromGitHub fetchFromGitLab fetchgit fetchhg
fetchsvn; fetchsvn fetchurl;
}."${recipe.fetch.tag}" }."${recipe.fetch.tag}"
or unknownFetcher; or unknownFetcher;
args = builtins.removeAttrs recipe.fetch [ "tag" ]; args = builtins.removeAttrs recipe.fetch [ "tag" ];