about summary refs log tree commit diff
path: root/modules/user/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2021-07-09 18:31:00 +0200
committeraszlig <aszlig@nix.build>2021-07-09 18:31:00 +0200
commita8218af7daa5dc0d41b8d523daf3743f9320b5be (patch)
treefa7075ceb41de8a4eb6502e05845f45971910f38 /modules/user/aszlig
parent6005f72476428ecab45fa12f6da55a86291e5d25 (diff)
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 <aszlig@nix.build>
Diffstat (limited to 'modules/user/aszlig')
-rw-r--r--modules/user/aszlig/programs/git/default.nix2
1 files changed, 1 insertions, 1 deletions
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}";