diff options
| author | Akshay Nair <phenax5@gmail.com> | 2026-03-01 18:32:41 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2026-03-01 18:35:24 +0530 |
| commit | 76739904202a362ffaa3e9e2ab99a55889419744 (patch) | |
| tree | e70a4889bed8895fa8789dabb1fc5aecf19fcb69 /modules/kakoune | |
| parent | 241e40ad8023922be73213a518c9624f737de066 (diff) | |
| download | nixos-config-76739904202a362ffaa3e9e2ab99a55889419744.tar.gz nixos-config-76739904202a362ffaa3e9e2ab99a55889419744.zip | |
Tmux + kakoune package update
Diffstat (limited to 'modules/kakoune')
| -rw-r--r-- | modules/kakoune/default.nix | 8 | ||||
| -rw-r--r-- | modules/kakoune/kak-tree-sitter.nix | 8 | ||||
| -rw-r--r-- | modules/kakoune/kakoune-lsp.nix | 19 |
3 files changed, 26 insertions, 9 deletions
diff --git a/modules/kakoune/default.nix b/modules/kakoune/default.nix index f15260c..b9d5287 100644 --- a/modules/kakoune/default.nix +++ b/modules/kakoune/default.nix @@ -8,6 +8,7 @@ let ]; }; kak-tree-sitter-unstable = import ./kak-tree-sitter.nix { inherit pkgs lib; }; + kakoune-lsp-unstable = import ./kakoune-lsp.nix { inherit pkgs lib; }; kak-tmux = pkgs.writeShellScriptBin "kak-tmux" '' if [ -t 0 ] && [ -z "$TMUX" ]; then exec </dev/tty; exec <&1; ${tmux}/bin/tmux new "${my-kakoune}/bin/kak$(printf ' %q' "$@")" @@ -19,15 +20,12 @@ in { environment.systemPackages = [ my-kakoune - kakoune-lsp + # kakoune-lsp + kakoune-lsp-unstable kakoune-cr kak-tree-sitter-unstable kak-tmux editorconfig-core-c - ripgrep - tmux - # gitu - moreutils ]; } diff --git a/modules/kakoune/kak-tree-sitter.nix b/modules/kakoune/kak-tree-sitter.nix index 7df49bd..abd0d79 100644 --- a/modules/kakoune/kak-tree-sitter.nix +++ b/modules/kakoune/kak-tree-sitter.nix @@ -2,16 +2,16 @@ with pkgs; rustPlatform.buildRustPackage rec { pname = "kak-tree-sitter"; - version = "3.0.0-local.1"; + version = "3.0.0-local.2"; src = fetchFromSourcehut { owner = "~hadronized"; repo = "kak-tree-sitter"; - rev = "e183201ebdd247b7bbefb9ce9cab10930788aa05"; # 3 Jan 2026 - hash = "sha256-iDpWzvtM0xQSEqs+TsfW3AGaMYwYkHwWqKrbWPRposc="; + rev = "5fe17202e3b818da0f12790d8186fd5ea5e22f6b"; # 28 Feb 2026 + hash = "sha256-z89g58Dr+c1TW9qQVpry1HRNcbxOCIMcNsc+u3KGtFo="; }; - cargoHash = "sha256-WblDG+8GSsy3s2dDE7fgWY6Jkoe7Qqw0ijPR/YQrX7I="; + cargoHash = "sha256-ink1qZD/ujLi/PlJRej5rByBka5a6pPVMP+Y1YlTE1c="; meta = { mainProgram = "kak-tree-sitter"; diff --git a/modules/kakoune/kakoune-lsp.nix b/modules/kakoune/kakoune-lsp.nix new file mode 100644 index 0000000..92d1998 --- /dev/null +++ b/modules/kakoune/kakoune-lsp.nix @@ -0,0 +1,19 @@ +{ lib, pkgs }: +with pkgs; +rustPlatform.buildRustPackage rec { + pname = "kakoune-lsp"; + version = "19.0.1-local.0"; + + src = fetchFromGitHub { + owner = "kakoune-lsp"; + repo = "kakoune-lsp"; + rev = "5ac69fde4222fa458908ff0c17d3aa429c74e28a"; # 28 Feb 2026 + hash = "sha256-PjYPhzMoT8rE2XGI/O9SAcksv2XGyk682IbHJW5vusc="; + }; + + cargoHash = "sha256-nwxZwyT9sNoZuvvg/YJFlVshe6i+W9avmquq9iXmFVM="; + + meta = { + mainProgram = "kak-lsp"; + }; +} |
