From 3689f8ef528e1026afa6f5a3e49f62a342aee25a Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sat, 25 Feb 2023 11:40:24 -0500 Subject: [PATCH] try to force https in single command --- modules/common/repositories/dotfiles.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/modules/common/repositories/dotfiles.nix b/modules/common/repositories/dotfiles.nix index d2fcf62..c7f03ba 100644 --- a/modules/common/repositories/dotfiles.nix +++ b/modules/common/repositories/dotfiles.nix @@ -16,9 +16,7 @@ $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}" + $DRY_RUN_CMD GIT_CONFIG_KEY_0="url.https://github.com/.insteadOf" ${pkgs.git}/bin/git clone ${config.dotfilesRepo} "${config.dotfilesPath}" fi '';