mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
Merge pull request #56673 from Kaali/darwin-ccls
Add Darwin support for ccls
This commit is contained in:
commit
bf444fd442
|
@ -15,7 +15,11 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ cmake makeWrapper ];
|
||||
buildInputs = with llvmPackages; [ clang-unwrapped llvm rapidjson ];
|
||||
|
||||
cmakeFlags = [ "-DSYSTEM_CLANG=ON" ];
|
||||
cmakeFlags = [
|
||||
"-DSYSTEM_CLANG=ON"
|
||||
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.12"
|
||||
"-DCMAKE_CXX_FLAGS=-fvisibility=hidden"
|
||||
];
|
||||
|
||||
shell = runtimeShell;
|
||||
postFixup = ''
|
||||
|
@ -37,7 +41,7 @@ stdenv.mkDerivation rec {
|
|||
description = "A c/c++ language server powered by clang";
|
||||
homepage = https://github.com/MaskRay/ccls;
|
||||
license = licenses.asl20;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.linux ++ platforms.darwin;
|
||||
maintainers = [ maintainers.mic92 ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -8579,6 +8579,7 @@ in
|
|||
|
||||
ccls = callPackage ../development/tools/misc/ccls {
|
||||
llvmPackages = llvmPackages_latest;
|
||||
stdenv = llvmPackages_latest.stdenv;
|
||||
};
|
||||
|
||||
credstash = with python3Packages; toPythonApplication credstash;
|
||||
|
|
Loading…
Reference in a new issue