You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The docs here seem to indicate "ref: A Git or Mercurial branch or tag name", however, support for tags is incomplete— note that looks for the name as if it was a branch:
$ nix develop clearpath/2.24.0-20211029234926 --show-trace
fetching Git repository 'http://gitlab.clearpathrobotics.com/sweng-infra/nix.git'fatal: couldn't find remote ref refs/heads/2.24.0-20211029234926
fatal: the remote end hung up unexpectedly
error: program 'git' failed with exit code 128
If I fully specify the ref then it works, but then I can't use the nice registry alias because the ref has slashes in it:
Describe the bug
The docs here seem to indicate "
ref
: A Git or Mercurial branch or tag name", however, support for tags is incomplete— note that looks for the name as if it was a branch:If I fully specify the ref then it works, but then I can't use the nice registry alias because the ref has slashes in it:
Pretty sure this is the problem code here:
nix/src/libfetchers/git.cc
Lines 372 to 379 in 4ed6673
My version is
2.4pre20210601_5985b8b
.The text was updated successfully, but these errors were encountered: