melpa-stable-packages: use recipeFile
This commit is contained in:
parent
1d8e3db9ff
commit
c266de63ee
@ -38,10 +38,14 @@ let
|
|||||||
or unknownFetcher;
|
or unknownFetcher;
|
||||||
args = builtins.removeAttrs recipe.fetch [ "tag" ];
|
args = builtins.removeAttrs recipe.fetch [ "tag" ];
|
||||||
src = fetch args;
|
src = fetch args;
|
||||||
|
recipeFile = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/milkypostman/melpa/${recipe.recipe.commit}/recipes/${name}";
|
||||||
|
inherit (recipe.recipe) sha256;
|
||||||
|
};
|
||||||
in melpaBuild {
|
in melpaBuild {
|
||||||
pname = name;
|
pname = name;
|
||||||
inherit (recipe) version;
|
inherit (recipe) version;
|
||||||
inherit src;
|
inherit recipeFile src;
|
||||||
packageRequires =
|
packageRequires =
|
||||||
let lookupDep = d: self."${d}" or null;
|
let lookupDep = d: self."${d}" or null;
|
||||||
in map lookupDep recipe.deps;
|
in map lookupDep recipe.deps;
|
||||||
|
Loading…
Reference in New Issue
Block a user