coq: fix installation of OCaml libraries

This commit is contained in:
Vincent Laporte 2018-04-14 17:38:45 +00:00
parent 5f97adccdc
commit caec7dbb9f
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F

View file

@ -123,8 +123,11 @@ self = stdenv.mkDerivation {
buildFlags = "revision coq coqide bin/votour";
createFindlibDestdir = true;
postInstall = ''
cp bin/votour $out/bin/
ln -s $out/lib/coq $OCAMLFIND_DESTDIR/coq
'';
meta = with stdenv.lib; {