mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
Merge pull request #38969 from vbgl/coq-findlib
coq: fix installation of OCaml libraries
This commit is contained in:
commit
0d8e415d6b
@ -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 New Issue
Block a user