mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
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 New Issue
Block a user