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
then hydra fails to check this out with error messages like the following:
command `nix-prefetch-git /var/lib/hydra/scm/git/123123123 abcabcabc' failed with exit status 256 (in an indeterminate location) at /nix/store/9fvyrab5cmaz9knrchij1p2khp6z3d42-hydra-0.1.0.0000000000000000000000000000000000000000/libexec/hydra/lib/Hydra/Helper/Nix.pm line 433.
I started debugging this and realized that when nix-prefetch-git clones this project, it uses an intermediate folder in /var/lib/hydra/scm/git/123123123... to clone from, and then during the git submodule init step, it will think that those relative URLs from the .gitmodule file are relative to this folder instead of being relative to the original URL (which was some SSH or HTTPS URL)...
when running nix-prefetch-git with bash -x you see lines like:
Of course it is possible that my usecase seems esoteric and hence this problem doesn't appear to have much weight.
If this is the case, i hope to at least get some advice what to do in my case. Implement another jobset input type that works for my usecase or something like that?
When using repositories as input that...
.gitmodule
file contains lines like:then hydra fails to check this out with error messages like the following:
I started debugging this and realized that when
nix-prefetch-git
clones this project, it uses an intermediate folder in/var/lib/hydra/scm/git/123123123...
to clone from, and then during thegit submodule init
step, it will think that those relative URLs from the.gitmodule
file are relative to this folder instead of being relative to the original URL (which was some SSH or HTTPS URL)...when running
nix-prefetch-git
withbash -x
you see lines like:Which does result in:
The text was updated successfully, but these errors were encountered: