Skip to content
Snippets Groups Projects
Commit fe33ca6c authored by Virgile Prevosto's avatar Virgile Prevosto
Browse files

[ci] going back to pristine why3 1.4.0

package constraints have now been fixed upstream
parent ab8a6bdc
No related branches found
No related tags found
No related merge requests found
...@@ -12,29 +12,14 @@ let mydir = builtins.getEnv("PWD"); ...@@ -12,29 +12,14 @@ let mydir = builtins.getEnv("PWD");
}; };
mk-opam-selection = { name, opamSrc?{}, ... }: { mk-opam-selection = { name, opamSrc?{}, ... }: {
inherit ocaml; inherit ocaml;
src = { why3 = why3; why3-coq = why3; } // opamSrc; src = opamSrc;
override = { pkgs, selection}:
{ why3 = super: super.overrideAttrs (attrs:
{ prePatch = "ln -s opam/why3.opam why3.opam; " + attrs.prePatch;
configurePhase = "autoconf; ";
buildInputs = [ pkgs.autoconf ];
});
why3-coq = super: super.overrideAttrs (attrs:
{
prePatch = "ln -s opam/why3-coq.opam why3-coq.opam; " + attrs.prePatch;
buildPhase = "autoconf; " + attrs.buildPhase;
buildInputs = [ pkgs.autoconf ];
}
);
}
;
selection = "${mydir}/${name}-${ocaml.version}-opam-selection.nix"; selection = "${mydir}/${name}-${ocaml.version}-opam-selection.nix";
}; };
opamPackages = opamPackages =
[ "ocamlfind" "zarith" "ocamlgraph" "yojson" "zmq" [ "ocamlfind" "zarith" "ocamlgraph" "yojson" "zmq"
"ppx_deriving" "ppx_deriving_yojson" "ppx_deriving" "ppx_deriving_yojson"
"coq=8.13.0" "alt-ergo=2.2.0" "coq=8.13.0" "alt-ergo=2.2.0"
"${why3}/opam/why3.opam" "${why3}/opam/why3-coq.opam" "why3=1.4.0" "why3-coq=1.4.0"
]; ];
# only pure nix packages. See mk_deriv below for adding opam2nix packages # only pure nix packages. See mk_deriv below for adding opam2nix packages
mk_buildInputs = { nixPackages ? [] } : mk_buildInputs = { nixPackages ? [] } :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment