honggfuzz: patch hfuzz-cc.c to fix path to buildtime-provided clang

i judged this slightly better than using a wrapper
This commit is contained in:
Robert Scott 2020-09-03 22:47:52 +01:00 committed by Jon
parent ea5d0dcd76
commit c941a63cb0

View file

@ -13,6 +13,12 @@ let
rev = "${version}";
sha256 = "0dcl5a5jykgfmnfj42vl7kah9k26wg38l2g6yfh5pssmlf0nax33";
};
postPatch = ''
substituteInPlace hfuzz_cc/hfuzz-cc.c \
--replace '"clang' '"${clang}/bin/clang'
'';
enableParallelBuilding = true;
nativeBuildInputs = [ makeWrapper ];