Skip to content

Commit

Permalink
Fix macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Jan 2, 2025
1 parent 52c8d37 commit 3774309
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion modules/home/all/git.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
{ pkgs, flake, ... }:
let
package =
if pkgs.stdenv.isDarwin then
# Upstream has broken mac package
pkgs.gitAndTools.gitFull.override { svnSupport = false; }
else
pkgs.gitAndTools.git;
in
{
home.packages = with pkgs; [
git-filter-repo
];

programs.git = {
inherit package;
difftastic = {
enable = true;
};
package = pkgs.gitAndTools.gitFull;
enable = true;
userName = flake.config.me.fullname;
userEmail = flake.config.me.email;
Expand Down

0 comments on commit 3774309

Please sign in to comment.