3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #38969 from vbgl/coq-findlib

coq: fix installation of OCaml libraries
This commit is contained in:
Matthew Justin Bauer 2018-04-20 18:02:52 -05:00 committed by GitHub
commit 0d8e415d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,11 +34,9 @@ let
self = stdenv.mkDerivation {
name = "coq-${version}";
inherit coq-version;
inherit camlp5;
inherit (ocamlPackages) ocaml;
passthru = {
inherit (ocamlPackages) findlib num;
inherit coq-version camlp5;
inherit (ocamlPackages) ocaml findlib num;
emacsBufferSetup = pkgs: ''
; Propagate coq paths to children
(inherit-local-permanent coq-prog-name "${self}/bin/coqtop")
@ -125,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; {