Prefer pinned URLs over emacs-overlay URLs

Similar to what 5e2835bffe did for pins.

Necessary to make the emacs-ansible URL override in
0b124de235 actually work.
This commit is contained in:
Marien Zwart 2024-06-27 22:36:36 +10:00
parent 0b124de235
commit cc97ee52b2
No known key found for this signature in database

View file

@ -237,8 +237,8 @@ let
&& p ? recipe.repo && p ? recipe.repo
&& (p.recipe.host or null) == null && (p.recipe.host or null) == null
then p.recipe.repo then p.recipe.repo
else epkg.src.gitRepoUrl else extraUrls.${name}
or extraUrls.${name} or epkg.src.gitRepoUrl
or (if isElpa then "https://github.com/emacs-straight/${name}" or (if isElpa then "https://github.com/emacs-straight/${name}"
else (let else (let
recipe = lib.generators.toPretty {} (p.recipe or "missing"); recipe = lib.generators.toPretty {} (p.recipe or "missing");