melpa-stable-packages: fix evaluation error

This commit is contained in:
Thomas Tuegel 2015-12-19 09:44:55 -06:00
parent e5b082fc7b
commit 752e4095ec
1 changed files with 3 additions and 2 deletions

View File

@ -26,13 +26,14 @@ let
mkPackage = self: name: recipe: mkPackage = self: name: recipe:
let drv = let drv =
{ melpaBuild, stdenv, fetchurl, fetchcvs, fetchFromGitHub, fetchFromGitLab { melpaBuild, stdenv, fetchurl, fetchcvs, fetchFromGitHub, fetchFromGitLab
, fetchgit, fetchhg }: , fetchgit, fetchhg, fetchsvn }:
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 fetchurl fetchcvs fetchFromGitHub fetchFromGitLab fetchgit fetchhg
fetchsvn;
}."${recipe.fetch.tag}" }."${recipe.fetch.tag}"
or unknownFetcher; or unknownFetcher;
args = builtins.removeAttrs recipe.fetch [ "tag" ]; args = builtins.removeAttrs recipe.fetch [ "tag" ];