Nix build from master fails due to invalid HEAD revision for gabmus/tree-sitter-blueprint #11554
-
SummaryThe latest HEAD revision being referenced here is incorrect: Line 3137 in 38e6fcd And at the time of writing is:
Reproduction StepsPull the flake from master helix-editor/helix repo via flake.nix: in flake.nix: {
description = "system configuration flake";
inputs = {
helix.url = "github:helix-editor/helix";
...
};
outputs =
{ self, helix, ... }:
{
...
};
}
Helix log~/.cache/helix/helix.log
PlatformmacOS Version 15.0 Beta (24A5309e) Terminal Emulatoralacritty 0.13.2 Installation Methodnix-darwin flake Helix Versionhelix 24.7 (079f544) |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
What version of Nix and git do you have? I was able to build from scratch with no cache using whatever the current latest Nix container is. That |
Beta Was this translation helpful? Give feedback.
-
I'm still getting the same error message after fully reinstalling nix-darwin:
Have you got thoughts on anything that could affect this externally? I've commented above on how I have the flake setup to show that I'm not pinning anything and just letting the flake do the work |
Beta Was this translation helpful? Give feedback.
-
Turns out the issue was all my doing. The issue was related to git config: [url "ssh://[email protected]/"]
insteadOf = https://gitlab.com/ changed to: [url "ssh://[email protected]/"]
pushInsteadOf = https://gitlab.com/ Which was causing the conflicts when building the project via ssh: Could not resolve hostname gitlab.comgabmus: nodename nor servname provided, or not known
fatal: Could not read from remote repository. I just tested on the 'problematic' commit hash and it's running fine as well as the newest commit version. |
Beta Was this translation helpful? Give feedback.
Turns out the issue was all my doing.
The issue was related to git config:
[url "ssh://[email protected]/"] insteadOf = https://gitlab.com/
changed to:
[url "ssh://[email protected]/"] pushInsteadOf = https://gitlab.com/
Which was causing the conflicts when building the project via
nix
and pulling each language via git. Where it was respecting thegitconfig
settings to pull via ssh without a fallback. Causing the error:I just tested on the 'problematic' commit hash and it's running fine as well as the newest commit version.
The thing that threw me…