feat: devshells, formatting, zoxide
This commit is contained in:
parent
d4ca1cffd2
commit
989f834aa9
9 changed files with 205 additions and 72 deletions
31
devshells/why3/flake.nix
Normal file
31
devshells/why3/flake.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
description = "Why3 nix-flake devshell.";
|
||||
|
||||
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; [
|
||||
why3
|
||||
alt-ergo
|
||||
z3
|
||||
cvc5
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
why3 config detect
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue