Fix dependencies on unknown packages
Triggered by ob-ammonite (used by scala, in emacsattic) depending on ammonite-term-repl (also in emacsattic). `eself` only contains emacs-overlay and doomPackageSet. All of this needs refactoring, but an explicit recursive call fixes the immediate problem.
This commit is contained in:
parent
83302a46ad
commit
4cf47c2fa7
1 changed files with 3 additions and 1 deletions
|
|
@ -219,7 +219,9 @@ let
|
|||
recipe = writeText "${name}-generated-recipe" ''
|
||||
(${name} :fetcher github :repo "marienz/made-up"
|
||||
${optionalString (p ? recipe.files) ":files ${p.recipe.files}"})'';
|
||||
packageRequires = map (name: eself.${name}) reqlist;
|
||||
# TODO: refactor out the recursive call to makePackage.
|
||||
# (Currently needed for dependencies on packages not in epkgs or doom.)
|
||||
packageRequires = map (name: eself.${name} or (makePackage name {})) reqlist;
|
||||
}
|
||||
else origEPkg);
|
||||
url =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue