ccls: 0.20190301 -> 0.20190314.1

This commit is contained in:
Jörg Thalheim 2019-05-13 08:58:22 +01:00
parent 198afad520
commit 144a031805
No known key found for this signature in database
GPG Key ID: B3F5D81B0C6967C4

View File

@ -3,13 +3,13 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "ccls-${version}"; name = "ccls-${version}";
version = "0.20190301"; version = "0.20190314.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "MaskRay"; owner = "MaskRay";
repo = "ccls"; repo = "ccls";
rev = version; rev = version;
sha256 = "1n60mly993czq3mnb82k8yqjrbfnsnx5v5dmr8ylqif3awcsk04i"; sha256 = "1yvxliryqx2bc7r6ri4iafbrjx19jk8hnfbvq5xla72q0gqb97lf";
}; };
nativeBuildInputs = [ cmake makeWrapper ]; nativeBuildInputs = [ cmake makeWrapper ];
@ -18,9 +18,12 @@ stdenv.mkDerivation rec {
cmakeFlags = [ cmakeFlags = [
"-DSYSTEM_CLANG=ON" "-DSYSTEM_CLANG=ON"
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12" "-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12"
"-DCMAKE_CXX_FLAGS=-fvisibility=hidden"
]; ];
preConfigure = ''
cmakeFlagsArray+=(-DCMAKE_CXX_FLAGS="-fvisibility=hidden -fno-rtti")
'';
shell = runtimeShell; shell = runtimeShell;
postFixup = '' postFixup = ''
# We need to tell ccls where to find the standard library headers. # We need to tell ccls where to find the standard library headers.