diff --git a/default.nix b/default.nix index e6039e9..24f4558 100644 --- a/default.nix +++ b/default.nix @@ -240,7 +240,11 @@ let inherit url; rev = pin; allRefs = true; - submodules = !(p.recipe.nonrecursive or false); + # Skip submodules by default because they seem to be hitting + # https://github.com/NixOS/nix/issues/10773 (or a similar caching issue) and for + # parity between fetchTree's github fetcher and fetchGit (Github's exports don't + # seem to contain submodules). + submodules = !(p.recipe.nonrecursive or true); # TODO: pull ref from derivation.src when not pulling it from p.recipe? # Note Doom does have packages with pin + branch (or nonrecursive) set, # expecting to inherit the rest of the recipe from Straight.