cquery: 2018-08-08 -> 2018-10-14 (llvm6 -> llvm7)

also simplify include expression a touch
This commit is contained in:
Will Dietz 2018-10-16 10:39:08 -05:00
parent 8070a6333f
commit fc69a394fa
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,8 @@ let
src = fetchFromGitHub {
owner = "cquery-project";
repo = "cquery";
rev = "e17df5b41e5a687559a0b75dba9c0f1f399c4aea";
sha256 = "06z8bg73jppb4msiqvsjbpz6pawwny831k56w5kcxrjgp22v24s1";
rev = "a95a6503d68a85baa25465ce147b7fc20f4a552e";
sha256 = "0rxbdln7dqkdw4q8rhclssgwypq16g9flkwmaabsr8knckbszxrx";
fetchSubmodules = true;
};
@ -15,7 +15,7 @@ let
in
stdenv.mkDerivation rec {
name = "cquery-${version}";
version = "2018-08-08";
version = "2018-10-14";
inherit src;
@ -32,7 +32,7 @@ stdenv.mkDerivation rec {
postFixup = ''
# We need to tell cquery where to find the standard library headers.
standard_library_includes="\\\"-isystem\\\", \\\"${if (stdenv.hostPlatform.libc == "glibc") then stdenv.cc.libc.dev else stdenv.cc.libc}/include\\\""
standard_library_includes="\\\"-isystem\\\", \\\"${stdenv.lib.getDev stdenv.cc.libc}/include\\\""
standard_library_includes+=", \\\"-isystem\\\", \\\"${llvmPackages.libcxx}/include/c++/v1\\\""
export standard_library_includes

View File

@ -8272,7 +8272,7 @@ with pkgs;
cpplint = callPackage ../development/tools/analysis/cpplint { };
cquery = callPackage ../development/tools/misc/cquery {
llvmPackages = llvmPackages_6;
llvmPackages = llvmPackages_7;
};
creduce = callPackage ../development/tools/misc/creduce {