From a8218af7daa5dc0d41b8d523daf3743f9320b5be Mon Sep 17 00:00:00 2001 From: aszlig Date: Fri, 9 Jul 2021 18:31:00 +0200 Subject: modules/git: Fix reference to Git config file Regression introduced in 709e45c2a8c231201d3f67c6a954021ca2a5f796. With that commit I renamed the "config" option to be called "settings", but not only that, the actual config *file* is now to be found in the "configFile" option. Unfortunately I forgot to change that reference, which caused an evaluation error. Signed-off-by: aszlig --- modules/user/aszlig/programs/git/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/aszlig') diff --git a/modules/user/aszlig/programs/git/default.nix b/modules/user/aszlig/programs/git/default.nix index e809077b..b4c1d9a4 100644 --- a/modules/user/aszlig/programs/git/default.nix +++ b/modules/user/aszlig/programs/git/default.nix @@ -8,7 +8,7 @@ let gitPatched = pkgs.gitFull.overrideAttrs (git: { makeFlags = let oldFlags = git.makeFlags or []; - newVal = "ETC_GITCONFIG=${cfg.config}"; + newVal = "ETC_GITCONFIG=${cfg.configFile}"; in if lib.isList oldFlags then oldFlags ++ [ newVal ] else "${oldFlags} ${newVal}"; -- cgit 1.4.1