From 91e89099d283b886b182e56dbd33bcd852b484f1 Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Sun, 26 May 2024 17:06:27 +1000 Subject: [PATCH] Assume recipe type is git if not specified Fixes fetch failure for x-face-e21. Noticed through upcoming improvement to test coverage. --- default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/default.nix b/default.nix index 937943f..ab543d7 100644 --- a/default.nix +++ b/default.nix @@ -243,7 +243,7 @@ let url = if (p.recipe.host or "") == "github" && p ? recipe.repo then "https://github.com/${p.recipe.repo}" - else if (p.recipe.type or "") == "git" + else if (p.recipe.type or "git") == "git" && p ? recipe.repo && (p.recipe.host or null) == null then p.recipe.repo