diff options
author | Azat Bahawi <azat@bahawi.net> | 2022-05-21 14:14:45 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2022-05-21 14:14:45 +0300 |
commit | 0552d1618d80a245ddeb2d7350e330782bed9a67 (patch) | |
tree | 0ad43647ed717cc412d230b3d7030017129da173 /pkgs/development/tools/rtags | |
parent | 505ffa2ffcd2c920f067275c43a566558012b785 (diff) |
rtags: fix build
Diffstat (limited to 'pkgs/development/tools/rtags')
-rw-r--r-- | pkgs/development/tools/rtags/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/development/tools/rtags/default.nix b/pkgs/development/tools/rtags/default.nix index 6693e80e1161e..7ee983ef6f9bf 100644 --- a/pkgs/development/tools/rtags/default.nix +++ b/pkgs/development/tools/rtags/default.nix @@ -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" |