mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-09 23:22:57 +00:00
try to force https for dotfiles clone
git seems to fail with ssh, at least to github
This commit is contained in:
parent
e6456d7f02
commit
ab6a339c34
@ -14,6 +14,10 @@
|
||||
[ "writeBoundary" ] ''
|
||||
if [ ! -d "${config.dotfilesPath}" ]; then
|
||||
$DRY_RUN_CMD mkdir --parents $VERBOSE_ARG $(dirname "${config.dotfilesPath}")
|
||||
|
||||
# Force HTTPS because anonymous SSH doesn't work
|
||||
GIT_CONFIG_KEY_0 = "url.https://github.com/.insteadOf";
|
||||
|
||||
$DRY_RUN_CMD ${pkgs.git}/bin/git clone ${config.dotfilesRepo} "${config.dotfilesPath}"
|
||||
fi
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user