git mergetool -t nixfmt: use unstable nixfmt
For now, only the nixfmt from unstable has that feature.
This commit is contained in:
parent
cdb5e568da
commit
0d25590eb3
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@
|
||||||
merge.tool = "vimdiff";
|
merge.tool = "vimdiff";
|
||||||
# provide `git mergetool -t nixfmt`
|
# provide `git mergetool -t nixfmt`
|
||||||
mergetool.nixfmt = {
|
mergetool.nixfmt = {
|
||||||
cmd = "${lib.getExe pkgs.nixfmt-rfc-style} --mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"";
|
cmd = "${lib.getExe inputs.nixos-unstable.legacyPackages.${system}.nixfmt-rfc-style} --mergetool \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"";
|
||||||
trustExitCode = true;
|
trustExitCode = true;
|
||||||
};
|
};
|
||||||
core.excludesfile = toString (
|
core.excludesfile = toString (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue