mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
melpa-stable-packages: fix evaluation error
This commit is contained in:
parent
3fbd697b24
commit
274678b38c
@ -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" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user