nixos/shells/why3-dev/flake.nix

38 lines
848 B
Nix

{
description = "Nix flake devshell for why3 development";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
};
outputs =
{ self, nixpkgs, ... }:
let
system = "x86_64-linux";
in
{
devShells."${system}".default =
let
pkgs = import nixpkgs { inherit system; };
in
pkgs.mkShell {
packages = with pkgs; [
# Build elements
autoconf
ocaml
ocamlPackages.ocaml-lsp
ocamlPackages.findlib
ocamlPackages.menhir
ocamlPackages.menhirLib
ocamlPackages.zarith
ocamlPackages.lablgtk3
ocamlPackages.lablgtk3-sourceview3
# Available provers
# alt-ergo
cvc5
z3
];
};
};
}