coq-tlc: fix package

This commit is contained in:
Vincent Laporte 2015-06-02 08:49:51 +02:00
parent 752528ac9c
commit d5a4c3d21d

View File

@ -13,6 +13,15 @@ stdenv.mkDerivation {
buildInputs = [ coq.ocaml coq.camlp5 ];
propagatedBuildInputs = [ coq ];
preConfigure = ''
patch Makefile <<EOF
105c105
< \$(COQC) \$<
---
> \$(COQC) -R . Tlc \$<
EOF
'';
installPhase = ''
COQLIB=$out/lib/coq/${coq.coq-version}/
mkdir -p $COQLIB/user-contrib/Tlc