feat (shells): why3 development shell
This commit is contained in:
parent
1c73c30a0f
commit
1a4cfd4e51
1 changed files with 33 additions and 0 deletions
33
shells/why3-dev/flake.nix
Normal file
33
shells/why3-dev/flake.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
description = "Nix flake devshell for why3 development";
|
||||||
|
|
||||||
|
inputs = {
|
||||||
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11";
|
||||||
|
};
|
||||||
|
|
||||||
|
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
|
||||||
|
];
|
||||||
|
|
||||||
|
shellHook = ''
|
||||||
|
echo "Test.";
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue