Skip to content

Commit

Permalink
Stop forcing HEAD as ref
Browse files Browse the repository at this point in the history
This may be contributing to #14.
  • Loading branch information
marienz committed Jun 26, 2024
1 parent c5fc5c1 commit 9205f28
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9205f28

Please sign in to comment.