Skip to content

Commit

Permalink
emacs: inherit files in melpaBuild to make nixf-tidy CI happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin committed Aug 5, 2024
1 parent e64ccec commit bdd7734
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/applications/editors/emacs/build-support/melpa.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ libBuildHelper.extendMkDerivation' genericBuild (finalAttrs:
*/
, recipe ? (writeText "${finalAttrs.pname}-recipe" ''
(${finalAttrs.ename} :fetcher git :url ""
${lib.optionalString (finalAttrs.files or null != null) ":files ${finalAttrs.files}"})
${lib.optionalString (finalAttrs.files != null) ":files ${finalAttrs.files}"})
'')
, preUnpack ? ""
, postUnpack ? ""
Expand All @@ -79,7 +79,7 @@ libBuildHelper.extendMkDerivation' genericBuild (finalAttrs:
elpa2nix = args.elpa2nix or ./elpa2nix.el;
melpa2nix = args.melpa2nix or ./melpa2nix.el;

inherit commit ename recipe;
inherit commit ename files recipe;

packageBuild = args.packageBuild or packageBuild;

Expand Down

0 comments on commit bdd7734

Please sign in to comment.