Skip to content

Nix build from master fails due to invalid HEAD revision for gabmus/tree-sitter-blueprint #11554

Closed Answered by koalazub
koalazub asked this question in Troubleshooting
Discussion options

You must be logged in to vote

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 the gitconfig settings to pull via ssh without a fallback. Causing the error:

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.
The thing that threw me…

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@koalazub
Comment options

@koalazub
Comment options

Comment options

You must be logged in to vote
1 reply
@the-mikedavis
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by koalazub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #11553 on August 22, 2024 12:29.