camlp5_transitional: remove in favor of camlp5 (strict)

This commit is contained in:
Théo Zimmermann 2018-10-10 17:27:19 +02:00
parent eaf0de5985
commit 2fdd38ed2d
No known key found for this signature in database
GPG Key ID: F1744A0942F536C7
5 changed files with 11 additions and 23 deletions

View File

@ -27,7 +27,6 @@ let
"8.8.2" = "1lip3xja924dm6qblisk1bk0x8ai24s5xxqxphbdxj6djglj68fd";
}."${version}";
coq-version = builtins.substring 0 3 version;
camlp5 = ocamlPackages.camlp5_strict;
ideFlags = if buildIde then "-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
csdpPatch = if csdp != null then ''
substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
@ -37,8 +36,8 @@ self = stdenv.mkDerivation {
name = "coq-${version}";
passthru = {
inherit coq-version camlp5;
inherit (ocamlPackages) ocaml findlib num;
inherit coq-version;
inherit (ocamlPackages) ocaml camlp5 findlib num;
emacsBufferSetup = pkgs: ''
; Propagate coq paths to children
(inherit-local-permanent coq-prog-name "${self}/bin/coqtop")
@ -93,7 +92,7 @@ self = stdenv.mkDerivation {
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ ocamlPackages.ocaml ocamlPackages.findlib camlp5 ncurses ocamlPackages.num ]
buildInputs = [ ncurses ] ++ (with ocamlPackages; [ ocaml findlib camlp5 num ])
++ stdenv.lib.optional buildIde ocamlPackages.lablgtk;
postPatch = ''

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, ocaml, findlib, camlp5_strict
{ stdenv, fetchFromGitHub, ocaml, findlib, camlp5
, ppx_tools_versioned, ppx_deriving, re
}:
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
buildInputs = [ ocaml findlib ppx_tools_versioned ];
propagatedBuildInputs = [ camlp5_strict ppx_deriving re ];
propagatedBuildInputs = [ camlp5 ppx_deriving re ];
createFindlibDestdir = true;

View File

@ -21277,9 +21277,7 @@ with pkgs;
libpoly = callPackage ../applications/science/logic/poly {};
prooftree = ocamlPackages.callPackage ../applications/science/logic/prooftree {
camlp5 = ocamlPackages.camlp5_strict;
};
prooftree = ocamlPackages.callPackage ../applications/science/logic/prooftree { };
prover9 = callPackage ../applications/science/logic/prover9 { };

View File

@ -56,8 +56,7 @@ in rec {
filterCoqPackages coq self;
coq_8_4 = callPackage ../applications/science/logic/coq/8.4.nix {
inherit (ocamlPackages_4_02) ocaml findlib lablgtk;
camlp5 = ocamlPackages_4_02.camlp5_transitional;
inherit (ocamlPackages_4_02) ocaml findlib lablgtk camlp5;
};
coq_8_5 = callPackage ../applications/science/logic/coq {
ocamlPackages = ocamlPackages_4_05;

View File

@ -88,15 +88,10 @@ let
then callPackage ../development/tools/ocaml/camlp4 { }
else null;
camlp5_6_strict = callPackage ../development/tools/ocaml/camlp5 { };
camlp5 = callPackage ../development/tools/ocaml/camlp5 { };
camlp5_6_transitional = callPackage ../development/tools/ocaml/camlp5 {
transitional = true;
};
camlp5_strict = camlp5_6_strict;
camlp5_transitional = camlp5_6_transitional;
# Compatibility alias
camlp5_strict = camlp5;
camlpdf = callPackage ../development/ocaml-modules/camlpdf { };
@ -1042,10 +1037,7 @@ let
enableX11 = config.unison.enableX11 or true;
};
hol_light = callPackage ../applications/science/logic/hol_light {
inherit num;
camlp5 = camlp5_strict;
};
hol_light = callPackage ../applications/science/logic/hol_light { };
};
in (ocamlPackages.janeStreet // ocamlPackages);