Merge pull request #82373 from mweinelt/pr/gitstatus/libgit2-cmakeflags

gitstatus: Fix build of the internally used libgit2 fork
This commit is contained in:
Florian Klink 2020-03-12 06:38:48 -07:00 committed by GitHub
commit 1ab2e9ef3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";