init
This commit is contained in:
31
flake.nix
Normal file
31
flake.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
description = "a flake indeed";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, flake-utils, ... } @ inputs:
|
||||
flake-utils.lib.eachDefaultSystem (system:
|
||||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in {
|
||||
packages.default = pkgs.stdenv.mkDerivation {
|
||||
pname = "nested ratchet fm";
|
||||
src = ./.;
|
||||
};
|
||||
|
||||
devShells.default = pkgs.mkShellNoCC rec {
|
||||
buildInputs = with pkgs; [
|
||||
proverif
|
||||
verifpal
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
echo "Switching to the nested ratchet formal methods dev environment ... :D"
|
||||
'';
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user