Merge pull request #126904 from witkamp/irony

irony-server: fixed darwin build
This commit is contained in:
Sandro 2021-06-15 21:54:59 +02:00 committed by GitHub
commit 16e9a398d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,16 @@
{ lib, stdenv, cmake, llvmPackages, irony }:
{ lib, stdenv, cmake, llvmPackages, llvm, irony }:
stdenv.mkDerivation {
pname = "irony-server";
inherit (irony) src version;
nativeBuildInputs = [ cmake llvmPackages.llvm.dev ];
buildInputs = [ llvmPackages.libclang llvmPackages.llvm ];
nativeBuildInputs = [ cmake llvm ];
buildInputs = [ llvmPackages.libclang ];
dontUseCmakeBuildDir = true;
cmakeDir = "server";
cmakeFlags = [
"-DCMAKE_PREFIX_PATH=${llvmPackages.clang-unwrapped}"
];
meta = with lib; {
description = "The server part of irony";
homepage = "https://melpa.org/#/irony";