summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorHannes Schulze <contact@haschu.me>2026-06-12 19:00:37 +0200
committerHannes Schulze <contact@haschu.me>2026-06-12 19:00:37 +0200
commit4b53e65306cdafff989dbfe58cf03311ad325118 (patch)
tree55b46156769e0fd418e20352a7bb4822dac14f57 /flake.nix
initial commit
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
new file mode 100644
index 0000000..7c3fc42
--- /dev/null
+++ b/flake.nix
@@ -0,0 +1,24 @@
+{
+ description = "Symbolic Modal Logic in Lean4";
+ inputs = {
+ nixpkgs = {
+ url = "github:nixos/nixpkgs/nixpkgs-unstable";
+ };
+ flake-utils = {
+ url = "github:numtide/flake-utils";
+ };
+ };
+ outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system:
+ let
+ pkgs = import nixpkgs { inherit system; };
+ lean-shell = pkgs.mkShell {
+ name = "Lean";
+ packages = [ pkgs.lean4 ];
+ };
+ in {
+ devShells = {
+ default = lean-shell;
+ lean = lean-shell;
+ };
+ });
+}