Stop forcing HEAD as ref

This may be contributing to #14.
This commit is contained in:
Marien Zwart 2024-06-26 22:48:17 +10:00
parent c5fc5c1b77
commit 9205f2878f
No known key found for this signature in database

View file

@ -258,9 +258,8 @@ let
# Note Doom does have packages with pin + branch (or nonrecursive) set,
# expecting to inherit the rest of the recipe from Straight.
# Always specify a ref to work around https://github.com/NixOS/nix/issues/10773
ref = p.recipe.branch or "HEAD";
}
// optionalAttrs (p ? recipe.branch) { ref = p.recipe.branch; }
// optionalAttrs (p ? recipe.depth) { shallow = p.recipe.depth == 1; };
src =
if experimentalFetchTree