Skip to content

Commit

Permalink
overrides: fix gitpython
Browse files Browse the repository at this point in the history
  • Loading branch information
PerchunPak committed Sep 6, 2024
1 parent ffaca50 commit 698bb1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
3 changes: 2 additions & 1 deletion overrides/build-systems.json
Original file line number Diff line number Diff line change
Expand Up @@ -8036,7 +8036,8 @@
}
],
"gitpython": [
"setuptools"
"setuptools",
"typing-extensions"
],
"glad": [
"setuptools"
Expand Down
11 changes: 6 additions & 5 deletions overrides/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1009,11 +1009,12 @@ lib.composeManyExtensions [
}
));

gitpython = prev.gitpython.overridePythonAttrs (
old: {
buildInputs = old.buildInputs or [ ] ++ [ final.typing-extensions ];
}
);
gitpython = prev.gitpython.overridePythonAttrs {
postPatch = ''
substituteInPlace git/cmd.py \
--replace 'git_exec_name = "git"' 'git_exec_name = "${pkgs.gitMinimal}/bin/git"'
'';
};

grpcio = prev.grpcio.overridePythonAttrs (old: {
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [ pkg-config ];
Expand Down

0 comments on commit 698bb1d

Please sign in to comment.