Skip to content

Commit

Permalink
fix(/users/common.nix): remove URL rewriting from git
Browse files Browse the repository at this point in the history
note: URL rewriting blocked `cargo-tarpaulin` from successfully
installing and seems related to
rust-lang/cargo#3381. Removing this line
from git's config seemed to fix the problem.
  • Loading branch information
johnrichardrinehart committed Nov 10, 2021
1 parent 92d6358 commit 6e9ad17
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion users/common.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ args @ { pkgs, lib, config, nixpkgs, options, specialArgs, nixosConfig, ... }:
extraConfig = {
init.defaultBranch = "main";
core.editor = "vim";
url."[email protected]:".insteadOf = "https://github.com";
# TODO: commented for cargo-tarpaulin, remove line if nothing breaks
# url."[email protected]:".insteadOf = "https://github.com";
core.excludesFile = "~/.gitignore";
};
};
Expand Down

0 comments on commit 6e9ad17

Please sign in to comment.