Merge pull request #38969 from vbgl/coq-findlib
coq: fix installation of OCaml libraries
This commit is contained in:
commit
0d8e415d6b
1 changed files with 5 additions and 4 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue