diff options
| author | Freya Murphy <freya@freyacat.org> | 2026-03-29 16:57:51 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2026-03-29 23:37:44 -0400 |
| commit | e2f2dfca1e0ca4a53b879bac6fed65d18337b30d (patch) | |
| tree | 63df62130fa497ec57eabdd68edeebee7e2d2892 /flake.nix | |
| download | kotlin-lsp.nix-main.tar.gz kotlin-lsp.nix-main.tar.bz2 kotlin-lsp.nix-main.zip | |
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..fa14a51 --- /dev/null +++ b/flake.nix @@ -0,0 +1,30 @@ +{ + description = "khs nix flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + flake-utils.url = "github:numtide/flake-utils"; + }; + + outputs = { + nixpkgs, + flake-utils, + ... + }: let + supportedSystems = let + inherit (flake-utils.lib) system; + in [ + system.x86_64-linux + ]; + in + flake-utils.lib.eachSystem supportedSystems (system: let + pkgs = import nixpkgs {inherit system;}; + in { + packages = rec { + default = kotlin-lsp; + kotlin-lsp = pkgs.callPackage ./default.nix {}; + }; + + formatter = pkgs.alejandra; + }); +} |