gitstatus: Fix build of the internally used libgit2 fork
In 6733ece
`-DUSE_HTTP_PARSER=system` was introduced, which does not seem
to work with this fork. So instead fallback to the `builtin`.
Also sync with upstream cmake flags.
This commit is contained in:
parent
2220060133
commit
d8e27096f2
1 changed files with 7 additions and 5 deletions
|
@ -2,13 +2,15 @@
|
|||
|
||||
libgit2.overrideAttrs (oldAttrs: {
|
||||
cmakeFlags = oldAttrs.cmakeFlags ++ [
|
||||
"-DUSE_BUNDLED_ZLIB=ON"
|
||||
"-DUSE_ICONV=OFF"
|
||||
"-DBUILD_CLAR=OFF"
|
||||
"-DUSE_SSH=OFF"
|
||||
"-DUSE_HTTPS=OFF"
|
||||
"-DBUILD_SHARED_LIBS=OFF"
|
||||
"-DUSE_EXT_HTTP_PARSER=OFF"
|
||||
"-DREGEX_BACKEND=builtin"
|
||||
"-DUSE_BUNDLED_ZLIB=ON"
|
||||
"-DUSE_HTTPS=OFF"
|
||||
"-DUSE_HTTP_PARSER=builtin" # overwritten from libgit2
|
||||
"-DUSE_ICONV=OFF"
|
||||
"-DUSE_SSH=OFF"
|
||||
"-DZERO_NSEC=ON"
|
||||
];
|
||||
src = fetchFromGitHub {
|
||||
owner = "romkatv";
|
||||
|
|
Loading…
Reference in a new issue