diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/workstation/weechat/default.nix | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/modules/workstation/weechat/default.nix b/modules/workstation/weechat/default.nix index 36f5284f7495..95ba03c1ecdc 100644 --- a/modules/workstation/weechat/default.nix +++ b/modules/workstation/weechat/default.nix @@ -3,15 +3,7 @@ with lib; let - weechatScripts = pkgs.weechatScripts.override { - python3Packages = pkgs.python39Packages; - }; - - weechatWrapper = with pkgs; wrapWeechat (weechat-unwrapped.override { - python3Packages = python39Packages; - }); - - scripts = with weechatScripts; + scripts = with pkgs.weechatScripts; [ colorize_nicks weechat-go weechat-matrix zncplayback ]; networks = [ @@ -119,7 +111,7 @@ let # to WeeChat before the /script loads, so scripts wouldn't be # available and we wouldn't be able to do stuff like set up Matrix. cfg = pkgs.runCommand "weechat-config" {} '' - LC_ALL=C.UTF-8 ${weechatWrapper { + LC_ALL=C.UTF-8 ${pkgs.weechat.override { configure = { ... }: { inherit scripts; init = concatStringsSep ";" (commands ++ [ "/save" "/exit" ]); @@ -137,7 +129,7 @@ in ''; environment.systemPackages = with pkgs; [ - (weechatWrapper { + (weechat.override { configure = { ...}: { inherit scripts; }; |