git: fix attribute paths
This fixes some attribute paths to match recent changes in Nixpkgs.
This commit is contained in:
parent
3fe2a57b95
commit
8f24ed4c7f
|
@ -348,13 +348,12 @@ in {
|
||||||
})
|
})
|
||||||
|
|
||||||
(mkIf cfg.delta.enable {
|
(mkIf cfg.delta.enable {
|
||||||
programs.git.iniContent =
|
programs.git.iniContent = let deltaCommand = "${pkgs.delta}/bin/delta";
|
||||||
let deltaCommand = "${pkgs.gitAndTools.delta}/bin/delta";
|
in {
|
||||||
in {
|
core.pager = deltaCommand;
|
||||||
core.pager = deltaCommand;
|
interactive.diffFilter = "${deltaCommand} --color-only";
|
||||||
interactive.diffFilter = "${deltaCommand} --color-only";
|
delta = cfg.delta.options;
|
||||||
delta = cfg.delta.options;
|
};
|
||||||
};
|
|
||||||
})
|
})
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,10 +82,8 @@ in {
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
(self: super: {
|
(self: super: {
|
||||||
git-lfs = pkgs.writeScriptBin "dummy-git-lfs" "";
|
git-lfs = pkgs.writeScriptBin "dummy-git-lfs" "";
|
||||||
gitAndTools = super.gitAndTools // {
|
delta = pkgs.writeScriptBin "dummy-delta" "" // {
|
||||||
delta = pkgs.writeScriptBin "dummy-delta" "" // {
|
outPath = "@delta@";
|
||||||
outPath = "@delta@";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue