Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git:// not working anymore, can't change git:// to https:// #11

Open
frankk19 opened this issue Sep 15, 2022 · 0 comments · May be fixed by #12
Open

git:// not working anymore, can't change git:// to https:// #11

frankk19 opened this issue Sep 15, 2022 · 0 comments · May be fixed by #12

Comments

@frankk19
Copy link

Hello,

it would be a lot of fun to have my own shabitica running.

When I try to build shabitica on NixOS 21.05, then the build is stopping:

exporting git://github.com/habitrpg/vuejs-datepicker.git (rev 5d237615463a84a23dd6f3f77c6ab577d68593ec) into /nix/store/fxnrc3799iylgkmrc469w2gffhwg97iw-vuejs-datepicker-5d23761
Initialized empty Git repository in /nix/store/fxnrc3799iylgkmrc469w2gffhwg97iw-vuejs-datepicker-5d23761/.git/
fatal: unable to connect to github.com:
github.com[0: 140.82.121.3]: errno=Connection timed out

The git:// is not working anymore.

Normally I would change the git:// to https:// with e. g. "git config --global url.https://.insteadOf git://"
or change it /etc/gitconfig to

[url "https://"]
insteadOf = git://

But since the buildscript is running as nixosbld1, it does ignore the git:// to https:// changes in the /etc/gitconfig".

Do you maybe have a workaround for this?

Best regards, Frank

@lomenzel lomenzel linked a pull request Aug 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant