git.iko.soy/typeable/nixpkgs
on master help sign in
camlp5_transitional: remove in favor of camlp5 (strict)
commit2fdd38ed2df0f6df08154a8982c87d77b9ca7b18 authorThéo Zimmermann <theo.zimmermann@univ-paris-diderot.fr> dateWed 10 Oct 2018, 17:27 (8 years ago) parenteaf0de5
5 files changed+11−23
pkgs/applications/science/logic/coq/default.nix+3−4 pkgs/development/ocaml-modules/elpi/default.nix+2−2 pkgs/top-level/all-packages.nix+1−3 pkgs/top-level/coq-packages.nix+1−2 pkgs/top-level/ocaml-packages.nix+4−12
pkgs/applications/science/logic/coq/default.nix+3−4
@@ -27,7 +27,6 @@ let
2727 "8.8.2" = "1lip3xja924dm6qblisk1bk0x8ai24s5xxqxphbdxj6djglj68fd";
2828 }."${version}";
2929 coq-version = builtins.substring 0 3 version;
30− camlp5 = ocamlPackages.camlp5_strict;
3130 ideFlags = if buildIde then "-lablgtkdir ${ocamlPackages.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
3231 csdpPatch = if csdp != null then ''
3332 substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
@@ -37,8 +36,8 @@ self = stdenv.mkDerivation {
3736 name = "coq-${version}";
3837
3938 passthru = {
40− inherit coq-version camlp5;
41− inherit (ocamlPackages) ocaml findlib num;
39+ inherit coq-version;
40+ inherit (ocamlPackages) ocaml camlp5 findlib num;
4241 emacsBufferSetup = pkgs: ''
4342 ; Propagate coq paths to children
4443 (inherit-local-permanent coq-prog-name "${self}/bin/coqtop")
@@ -93,7 +92,7 @@ self = stdenv.mkDerivation {
9392 };
9493
9594 nativeBuildInputs = [ pkgconfig ];
96− buildInputs = [ ocamlPackages.ocaml ocamlPackages.findlib camlp5 ncurses ocamlPackages.num ]
95+ buildInputs = [ ncurses ] ++ (with ocamlPackages; [ ocaml findlib camlp5 num ])
9796 ++ stdenv.lib.optional buildIde ocamlPackages.lablgtk;
9897
9998 postPatch = ''
pkgs/development/ocaml-modules/elpi/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchFromGitHub, ocaml, findlib, camlp5_strict
1+{ stdenv, fetchFromGitHub, ocaml, findlib, camlp5
22, ppx_tools_versioned, ppx_deriving, re
33}:
44
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414
1515 buildInputs = [ ocaml findlib ppx_tools_versioned ];
1616
17− propagatedBuildInputs = [ camlp5_strict ppx_deriving re ];
17+ propagatedBuildInputs = [ camlp5 ppx_deriving re ];
1818
1919 createFindlibDestdir = true;
2020
pkgs/top-level/all-packages.nix+1−3
@@ -21277,9 +21277,7 @@ with pkgs;
2127721277
2127821278 libpoly = callPackage ../applications/science/logic/poly {};
2127921279
21280− prooftree = ocamlPackages.callPackage ../applications/science/logic/prooftree {
21281− camlp5 = ocamlPackages.camlp5_strict;
21282− };
21280+ prooftree = ocamlPackages.callPackage ../applications/science/logic/prooftree { };
2128321281
2128421282 prover9 = callPackage ../applications/science/logic/prover9 { };
2128521283
pkgs/top-level/coq-packages.nix+1−2
@@ -56,8 +56,7 @@ in rec {
5656 filterCoqPackages coq self;
5757
5858 coq_8_4 = callPackage ../applications/science/logic/coq/8.4.nix {
59− inherit (ocamlPackages_4_02) ocaml findlib lablgtk;
60− camlp5 = ocamlPackages_4_02.camlp5_transitional;
59+ inherit (ocamlPackages_4_02) ocaml findlib lablgtk camlp5;
6160 };
6261 coq_8_5 = callPackage ../applications/science/logic/coq {
6362 ocamlPackages = ocamlPackages_4_05;
pkgs/top-level/ocaml-packages.nix+4−12
@@ -88,15 +88,10 @@ let
8888 then callPackage ../development/tools/ocaml/camlp4 { }
8989 else null;
9090
91− camlp5_6_strict = callPackage ../development/tools/ocaml/camlp5 { };
91+ camlp5 = callPackage ../development/tools/ocaml/camlp5 { };
9292
93− camlp5_6_transitional = callPackage ../development/tools/ocaml/camlp5 {
94− transitional = true;
95− };
96−
97− camlp5_strict = camlp5_6_strict;
98−
99− camlp5_transitional = camlp5_6_transitional;
93+ # Compatibility alias
94+ camlp5_strict = camlp5;
10095
10196 camlpdf = callPackage ../development/ocaml-modules/camlpdf { };
10297
@@ -1042,10 +1037,7 @@ let
10421037 enableX11 = config.unison.enableX11 or true;
10431038 };
10441039
1045− hol_light = callPackage ../applications/science/logic/hol_light {
1046− inherit num;
1047− camlp5 = camlp5_strict;
1048− };
1040+ hol_light = callPackage ../applications/science/logic/hol_light { };
10491041
10501042 };
10511043 in (ocamlPackages.janeStreet // ocamlPackages);