ycmd: autoformat with nixpkgs-fmt
This commit is contained in:
parent
cabdd9cee8
commit
c59f26f329
1 changed files with 18 additions and 7 deletions
|
@ -1,9 +1,20 @@
|
||||||
{ stdenv, lib, fetchFromGitHub, cmake, ninja, python
|
{ stdenv
|
||||||
, withGodef ? true, godef
|
, lib
|
||||||
, withGotools? true, gotools
|
, fetchFromGitHub
|
||||||
, withTypescript ? true, typescript
|
, cmake
|
||||||
, abseil-cpp, boost, llvmPackages
|
, ninja
|
||||||
, fixDarwinDylibNames, Cocoa
|
, python
|
||||||
|
, withGodef ? true
|
||||||
|
, godef
|
||||||
|
, withGotools ? true
|
||||||
|
, gotools
|
||||||
|
, withTypescript ? true
|
||||||
|
, typescript
|
||||||
|
, abseil-cpp
|
||||||
|
, boost
|
||||||
|
, llvmPackages
|
||||||
|
, fixDarwinDylibNames
|
||||||
|
, Cocoa
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -23,7 +34,7 @@ stdenv.mkDerivation {
|
||||||
nativeBuildInputs = [ cmake ninja ]
|
nativeBuildInputs = [ cmake ninja ]
|
||||||
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
++ lib.optional stdenv.hostPlatform.isDarwin fixDarwinDylibNames;
|
||||||
buildInputs = with python.pkgs; with llvmPackages; [ abseil-cpp boost libllvm.all libclang.all ]
|
buildInputs = with python.pkgs; with llvmPackages; [ abseil-cpp boost libllvm.all libclang.all ]
|
||||||
++ [ jedi jedi-language-server pybind11 ]
|
++ [ jedi jedi-language-server pybind11 ]
|
||||||
++ lib.optional stdenv.isDarwin Cocoa;
|
++ lib.optional stdenv.isDarwin Cocoa;
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
|
Loading…
Reference in a new issue