git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #21822 from rht/master

coq_HEAD: Update to the latest commit

commitce9c7dd0d6d8997d0971d9424aeb401c0ddd7145 authorMichael Raskin <7c6f434c@mail.ru> dateSun 30 Apr 2017, 12:49 (10 years ago) parentb6cffb5bbd1c3d
2 files changed+13−13
pkgs/applications/science/logic/coq/HEAD.nix+12−9 pkgs/top-level/all-packages.nix+1−4
pkgs/applications/science/logic/coq/HEAD.nix+12−9
@@ -1,31 +1,34 @@
1−# - coqide compilation can be disabled by setting lablgtk to null;
1+# - coqide compilation can be disabled by setting buildIde to false;
22# - The csdp program used for the Micromega tactic is statically referenced.
33# However, coq can build without csdp by setting it to null.
44# In this case some Micromega tactics will search the user's path for the csdp program and will fail if it is not found.
55
6−{stdenv, fetchgit, writeText, pkgconfig, ocaml, findlib, camlp5, ncurses, lablgtk ? null, csdp ? null}:
6+{stdenv, fetchgit, writeText, pkgconfig, ocamlPackages_4_02, ncurses, buildIde ? true, csdp ? null}:
77
88let
9− version = "8.6pre-0c999f02";
9+ version = "2017-02-03";
1010 coq-version = "8.6";
11− buildIde = lablgtk != null;
12− ideFlags = if buildIde then "-lablgtkdir ${lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
11+ ideFlags = if buildIde then "-lablgtkdir ${ocamlPackages_4_02.lablgtk}/lib/ocaml/*/site-lib/lablgtk2 -coqide opt" else "";
1312 csdpPatch = if csdp != null then ''
1413 substituteInPlace plugins/micromega/sos.ml --replace "; csdp" "; ${csdp}/bin/csdp"
1514 substituteInPlace plugins/micromega/coq_micromega.ml --replace "System.is_in_system_path \"csdp\"" "true"
1615 '' else "";
16+ ocaml = ocamlPackages_4_02.ocaml;
17+ findlib = ocamlPackages_4_02.findlib;
18+ lablgtk = ocamlPackages_4_02.lablgtk;
19+ camlp5 = ocamlPackages_4_02.camlp5_transitional;
1720in
1821
1922stdenv.mkDerivation {
20− name = "coq-${version}";
23+ name = "coq-unstable-${version}";
2124
2225 inherit coq-version;
23− inherit ocaml camlp5;
26+ inherit ocaml camlp5 findlib;
2427
2528 src = fetchgit {
2629 url = git://scm.gforge.inria.fr/coq/coq.git;
27− rev = "ad768e435a736ca51ac79a575967b388b34918c7";
28− sha256 = "05s7sk1l3mvdjag3idnhkpj707y4bv56da7kpffw862f2qgfr77j";
30+ rev = "078598d029792a3d9a54fae9b9ac189b75bc3b06";
31+ sha256 = "0sflrpp6x0ada0bjh67q1x65g88d179n3cawpwkp1pm4kw76g8x7";
2932 };
3033
3134 buildInputs = [ pkgconfig ocaml findlib camlp5 ncurses lablgtk ];
pkgs/top-level/all-packages.nix+1−4
@@ -17486,10 +17486,7 @@ with pkgs;
1748617486 version = "8.5pl3";
1748717487 };
1748817488 coq_8_6 = callPackage ../applications/science/logic/coq {};
17489− coq_HEAD = callPackage ../applications/science/logic/coq/HEAD.nix {
17490− inherit (ocamlPackages) ocaml findlib lablgtk;
17491− camlp5 = ocamlPackages.camlp5_transitional;
17492− };
17489+ coq_HEAD = callPackage ../applications/science/logic/coq/HEAD.nix {};
1749317490 coq = coq_8_6;
1749417491
1749517492 mkCoqPackages_8_4 = self: let callPackage = newScope self; in {