Skip to content

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

@frankk19

Description

@frankk19

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions