From cc97ee52b261a9be1ead8220791b746141b9b144 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Thu, 27 Jun 2024 22:36:36 +1000 Subject: [PATCH] Prefer pinned URLs over emacs-overlay URLs Similar to what 5e2835bffebf3d82882a564b72c18319e9219f6e did for pins. Necessary to make the emacs-ansible URL override in 0b124de235398119adfee99a5759fe317dfe995a actually work. --- default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default.nix b/default.nix index d4da4af..c6be253 100644 --- a/default.nix +++ b/default.nix @@ -237,8 +237,8 @@ let && p ? recipe.repo && (p.recipe.host or null) == null then p.recipe.repo - else epkg.src.gitRepoUrl - or extraUrls.${name} + else extraUrls.${name} + or epkg.src.gitRepoUrl or (if isElpa then "https://github.com/emacs-straight/${name}" else (let recipe = lib.generators.toPretty {} (p.recipe or "missing");