diff options
| author | Hannes Schulze <haschu0103@outlook.de> | 2026-02-10 17:05:11 +0100 |
|---|---|---|
| committer | Hannes Schulze <haschu0103@outlook.de> | 2026-02-10 17:05:11 +0100 |
| commit | 44796b1b1493a67dcdfec8f9846dce14e7ecf4a4 (patch) | |
| tree | 24e13002e43770ffcdaad84e0ce755f5035f511d /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..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; + }; + }); +} |
