summaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
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..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;
+ };
+ });
+}