Revision c7b54ade0306b527fcdbb2ed115287b50d0db880 authored by François Dupressoir on 13 March 2023, 15:45:09 UTC, committed by François Dupressoir on 13 March 2023, 15:45:09 UTC
1 parent 0f16a48
shell.nix
{ withProvers ? true, devDeps ? [] }:
let why3_local =
why3.overrideAttrs (o : rec {
version = "1.5.1";
src = fetchurl {
url = "https://why3.gitlabpages.inria.fr/releases/${o.pname}-${version}.tar.gz";
sha256 = "sha256-vNR7WeiSvg+763GcovoZBFDfncekJMeqNegP4fVw06I=";
};
});
in
let why3 = why3_local; in
with import <nixpkgs> {};
let provers =
if withProvers then [
alt-ergo
z3
] else []; in
pkgs.mkShell {
buildInputs = devDeps ++ [ git ] ++ (with ocamlPackages; [
ocaml
findlib
batteries
camlp-streams
dune_3
dune-build-info
dune-site
inifiles
menhir
menhirLib
merlin
yojson
why3
zarith
]) ++ (with python3Packages; [
pyyaml
]);
}
Computing file changes ...