smatch: install files in the right place

This commit is contained in:
Ludovic Courtès 2012-10-30 15:07:20 +01:00
parent 8775cb95ba
commit d1202f702b

View file

@ -20,7 +20,10 @@ stdenv.mkDerivation {
++ stdenv.lib.optional buildllvmsparse llvm
++ stdenv.lib.optional buildc2xml libxml2;
installFlags = "DESTDIR=$(out)";
preBuild =
'' sed -i Makefile \
-e "s|^PREFIX=.*|PREFIX = $out|g"
'';
meta = {
description = "A semantic analysis tool for C";