melpaBuild: add files parameter to specify :files of recipe
This commit is contained in:
parent
6c9f79c133
commit
7f5aedecb5
@ -47,11 +47,19 @@ in
|
|||||||
*/
|
*/
|
||||||
, commit ? (args.src.rev or "unknown")
|
, commit ? (args.src.rev or "unknown")
|
||||||
/*
|
/*
|
||||||
recipe: Optional MELPA recipe.
|
files: Optional recipe property specifying the files used to build the package.
|
||||||
Default: a minimal but not accurate recipe
|
If null, do not set it in recipe, keeping the default upstream behaviour.
|
||||||
You need to provide your own recipe if you want to set :files.
|
Default: null
|
||||||
*/
|
*/
|
||||||
, recipe ? (writeText "${pname}-recipe" ''(${ename} :fetcher git :url "")'')
|
, files ? null
|
||||||
|
/*
|
||||||
|
recipe: Optional MELPA recipe.
|
||||||
|
Default: a minimally functional recipe
|
||||||
|
*/
|
||||||
|
, recipe ? (writeText "${pname}-recipe" ''
|
||||||
|
(${ename} :fetcher git :url ""
|
||||||
|
${lib.optionalString (files != null) ":files ${files}"})
|
||||||
|
'')
|
||||||
, meta ? {}
|
, meta ? {}
|
||||||
, ...
|
, ...
|
||||||
}@args:
|
}@args:
|
||||||
|
Loading…
Reference in New Issue
Block a user