commit
b87b69fae9
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, lib, fetchFromGitHub, cmake, llvmPackages, openssl, apple_sdk, emacs, pkg-config }:
|
||||
{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, llvmPackages, openssl, apple_sdk, emacs, pkg-config }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "rtags";
|
||||
|
@ -21,6 +21,14 @@ stdenv.mkDerivation rec {
|
|||
'';
|
||||
};
|
||||
|
||||
# This should be fixed with the next verison bump
|
||||
# https://github.com/Andersbakken/rtags/issues/1411
|
||||
patches = [(fetchpatch {
|
||||
name = "define-obsolete-function-alias.patch";
|
||||
url = "https://github.com/Andersbakken/rtags/commit/63f18acb21e664fd92fbc19465f0b5df085b5e93.patch";
|
||||
sha256 = "sha256-dmEPtnk8Pylmf5479ovHKItRZ+tJuOWuYOQbWB/si/Y=";
|
||||
})];
|
||||
|
||||
preConfigure = ''
|
||||
export LIBCLANG_CXXFLAGS="-isystem ${llvmPackages.clang.cc}/include $(llvm-config --cxxflags) -fexceptions" \
|
||||
LIBCLANG_LIBDIR="${llvmPackages.clang.cc}/lib"
|
||||
|
|
Loading…
Reference in a new issue