gitaly: build with system libgit2
This commit is contained in:
parent
c1c2ff4a97
commit
72ba4fce76
@ -1,5 +1,7 @@
|
|||||||
{ stdenv, fetchFromGitLab, fetchFromGitHub, buildGoModule, ruby,
|
{ stdenv, fetchFromGitLab, fetchFromGitHub, buildGoModule, ruby
|
||||||
bundlerEnv, pkgconfig, libgit2_0_27 }:
|
, bundlerEnv, pkgconfig
|
||||||
|
# libgit2 + dependencies
|
||||||
|
, libgit2, openssl, zlib, pcre, http-parser }:
|
||||||
|
|
||||||
let
|
let
|
||||||
rubyEnv = bundlerEnv rec {
|
rubyEnv = bundlerEnv rec {
|
||||||
@ -35,8 +37,9 @@ in buildGoModule rec {
|
|||||||
inherit rubyEnv;
|
inherit rubyEnv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildFlags = [ "-tags=static,system_libgit2" ];
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
buildInputs = [ rubyEnv.wrappedRuby libgit2_0_27 ];
|
buildInputs = [ rubyEnv.wrappedRuby libgit2 openssl zlib pcre http-parser ];
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user