mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
git-credential-oauth: fix ordering of git extraConfig
Added `mkAfter` to `git.extraConfig` to ensure our oauth is last, as required to work with additional helpers.
This commit is contained in:
parent
e83414058e
commit
8ca921e5a8
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ in {
|
|||
config = lib.mkIf cfg.enable {
|
||||
home.packages = [ cfg.package ];
|
||||
|
||||
programs.git.extraConfig.credential.helper = [
|
||||
programs.git.extraConfig.credential.helper = lib.mkAfter [
|
||||
("${cfg.package}/bin/git-credential-oauth"
|
||||
+ lib.optionalString (cfg.extraFlags != [ ])
|
||||
" ${lib.strings.concatStringsSep " " cfg.extraFlags}")
|
||||
|
|
Loading…
Reference in a new issue