srcml: fix build with gcc6

This commit is contained in:
Samuel Leathers
2017-09-04 22:30:42 -04:00
parent 97935829f6
commit d93e2ccdd0
2 changed files with 34 additions and 2 deletions

View File

@@ -1,4 +1,6 @@
{ stdenv, fetchurl, cmake, libxml2, libxslt, boost, libarchive, python, antlr }:
{ stdenv, fetchurl, cmake, libxml2, libxslt, boost, libarchive, python, antlr,
curl
}:
with stdenv.lib;
@@ -16,8 +18,12 @@ stdenv.mkDerivation rec {
substituteInPlace CMake/install.cmake --replace /usr/local $out
'';
patches = [
./gcc6.patch
];
nativeBuildInputs = [ cmake antlr ];
buildInputs = [ libxml2 libxslt boost libarchive python ];
buildInputs = [ libxml2 libxslt boost libarchive python curl ];
meta = {
description = "Infrastructure for exploration, analysis, and manipulation of source code";