diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2025-09-19 13:03:48 +0200 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2025-09-19 13:03:48 +0200 |
| commit | c92169d23ec70e453bf1b84c82b224997065e0ff (patch) | |
| tree | 11ffd45cfdd005a98277e4d164fbb10f6d4caa86 /flake.nix | |
initial commit
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..0f3c0db --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "Nominal Sets 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; + }; + }); +} |
