diff options
| -rw-r--r-- | pkgs/tmux-open/default.nix | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/pkgs/tmux-open/default.nix b/pkgs/tmux-open/default.nix index 1f882b4..3d4f5ce 100644 --- a/pkgs/tmux-open/default.nix +++ b/pkgs/tmux-open/default.nix @@ -1,12 +1,11 @@ { jq, - substituteAll, + replaceVars, sway, tmux, writeShellScriptBin, ... }: -writeShellScriptBin "tmux-open" (builtins.readFile (substituteAll { - src = ./tmux-open.sh; - env = {inherit jq sway tmux;}; +writeShellScriptBin "tmux-open" (builtins.readFile (replaceVars ./tmux-open.sh { + inherit jq sway tmux; })) |
