mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 00:55:58 +08:00
Fix macOS build
This commit is contained in:
parent
52c8d3707b
commit
3774309e00
1 changed files with 9 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue