ycmd: autoformat with nixpkgs-fmt

This commit is contained in:
Felix Uhl 2024-03-27 22:46:13 +01:00
parent cabdd9cee8
commit c59f26f329

View file

@ -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 = ''