diff options
author | sternenseemann <sternenseemann@systemli.org> | 2023-04-10 14:42:16 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2023-04-10 14:42:16 +0200 |
commit | b1fcde65e2b1adaaa3e9069d7722ee2b70c5a38f (patch) | |
tree | 0c958e3093cff20da48ebdd71378deedd531cc18 /modules/user/profpatsch | |
parent | 3b0a1c8f61b941df0abe9baf4e673d0846a6ce0f (diff) |
treewide: s6-test is dead, long live eltest! s6-test-removed
Recent versions of s6-portable-utils no longer include s6-test which was deprecated in favor of eltest which supposedly has the same interface. I've not tested this commit very thoroughly, but my system now builds again with recent nixpkgs commits (I think I dependended on s6-test via the rust writer via nman). cc @Profpatsch
Diffstat (limited to 'modules/user/profpatsch')
-rw-r--r-- | modules/user/profpatsch/programs/weechat.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/user/profpatsch/programs/weechat.nix b/modules/user/profpatsch/programs/weechat.nix index 2373598f..5870d078 100644 --- a/modules/user/profpatsch/programs/weechat.nix +++ b/modules/user/profpatsch/programs/weechat.nix @@ -27,8 +27,9 @@ let bins = getBins pkgs.tmux [ "tmux" ] // getBins weechat-with-scripts [ "weechat" ] // getBins pkgs.dash [ "dash" ] - // getBins pkgs.s6-portable-utils [ "s6-sleep" "s6-test" ] + // getBins pkgs.s6-portable-utils [ "s6-sleep" ] // getBins pkgs.mosh [ "mosh-server" ] + // getBins pkgs.execline [ "eltest" ] ; @@ -60,7 +61,7 @@ let attachWeechatTmuxSession = writeExecline "attach-weechat-tmux-session" {} [ "importas" "-u" "-D" "" "what" "SSH_ORIGINAL_COMMAND" # if the user passes "ssh" as argv, it will call tmux directly - "ifelse" [ bins.s6-test "$what" "=" "ssh" ] + "ifelse" [ bins.eltest "$what" "=" "ssh" ] [ bins.tmux "attach-session" "-t" sessionName ] # if not, it uses the mosh-server (default) bins.mosh-server "--" |