From 9205f2878ff2d173b91cf27f594d4f9a983b639f Mon Sep 17 00:00:00 2001 From: Marien Zwart Date: Wed, 26 Jun 2024 22:48:17 +1000 Subject: [PATCH] Stop forcing HEAD as ref This may be contributing to #14. --- default.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/default.nix b/default.nix index 08457ea..d4da4af 100644 --- a/default.nix +++ b/default.nix @@ -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