From 44796b1b1493a67dcdfec8f9846dce14e7ecf4a4 Mon Sep 17 00:00:00 2001 From: Hannes Schulze Date: Tue, 10 Feb 2026 17:05:11 +0100 Subject: initial commit --- flake.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..180b480 --- /dev/null +++ b/flake.nix @@ -0,0 +1,24 @@ +{ + description = "Lean Wayland API for Lean"; + 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; + }; + }); +} -- cgit v1.3.1