From 79fcabe5073b2d80af4e1ff8999e482de6e98324 Mon Sep 17 00:00:00 2001 From: vimlinuz Date: Thu, 14 May 2026 16:32:47 +0545 Subject: [PATCH 1/2] tmuxPlugins.tmux-sm: init at 0-unstable-2026-05-14 tmux-sm: fix the path of script tmux-sm: fix the broken path tmux-sm: fix the path of the scripts tmux-sm: fix the path of the scripts tmux-sm: removed the duplicated path tmuxPlugins.tmux-sm: fix the description --- pkgs/misc/tmux-plugins/default.nix | 43 ++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index 2ee755b02d98..f62d8c8c1f6e 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -1056,6 +1056,49 @@ in }; }; + tmux-sm = mkTmuxPlugin { + pluginName = "tmux-sm"; + version = "0-unstable-2026-05-14"; + src = fetchFromGitHub { + owner = "vimlinuz"; + repo = "tmux-sm"; + rev = "97d411a11d124443c982d17fde03c1e09809d7b1"; + hash = "sha256-7HW/TLP/yyQp4j0/utA0tibTv+suV1B2K56pUS3Z004="; + }; + nativeBuildInputs = [ pkgs.makeWrapper ]; + rtpFilePath = "main.tmux"; + postInstall = '' + chmod +x $target/scripts/session-manager + wrapProgram $target/scripts/session-manager \ + --prefix PATH : ${ + with pkgs; + lib.makeBinPath [ + fzf + gawk + coreutils + ] + } + chmod +x $target/scripts/sessionizer + wrapProgram $target/scripts/sessionizer \ + --prefix PATH : ${ + with pkgs; + lib.makeBinPath [ + fzf + tree + findutils + coreutils + ] + } + ''; + meta = { + homepage = "https://github.com/vimlinuz/tmux-sm"; + description = "Fuzzy terminal popup to manage tmux sessions using `fzf`"; + license = lib.licenses.mit; + platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ vimlinuz ]; + }; + }; + tmux-thumbs = pkgs.callPackage ./tmux-thumbs { inherit mkTmuxPlugin; }; From c08873b7bd316ca279eea1c97fb696f55dee5ecc Mon Sep 17 00:00:00 2001 From: vimlinuz Date: Tue, 19 May 2026 17:55:28 +0545 Subject: [PATCH 2/2] tmuxPlugins.t-smart-tmux-session-manager: fix the wrapper path --- pkgs/misc/tmux-plugins/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index f62d8c8c1f6e..9b918a6ab286 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -1115,7 +1115,7 @@ in }; nativeBuildInputs = [ pkgs.makeWrapper ]; postInstall = '' - wrapProgram $out/share/tmux-plugins/t-smart-tmux-session-manager/bin/t \ + wrapProgram $target/bin/t \ --prefix PATH : ${ lib.makeBinPath [