nixos/shells/why3-dev/flake.nix

31 lines
695 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; [
autoconf
ocaml
ocamlPackages.findlib
ocamlPackages.menhir
ocamlPackages.menhirLib
ocamlPackages.zarith
ocamlPackages.lablgtk3
ocamlPackages.lablgtk3-sourceview3
];
};
};
}