From: Ismaƫl Bouya Date: Thu, 14 Mar 2019 06:44:28 +0000 (+0100) Subject: Upgrade weechat to 2.4 X-Git-Tag: nur_publish~202 X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=commitdiff_plain;h=111049f36408d221bf5452ba9124b782100376a8;hp=18fdf47041026412e365224f21c258b436ceda18 Upgrade weechat to 2.4 --- diff --git a/default.nix b/default.nix index 444d29d..b1ae800 100644 --- a/default.nix +++ b/default.nix @@ -63,19 +63,11 @@ let configureFlags = old.configureFlags ++ [ "--enable-plugins" ]; }); - mypkgs.weechat = (wrapWeechat ( - weechat-unwrapped.overrideAttrs (old: rec { - version = "2.3"; - name = "weechat-${version}"; - src = fetchurl { - url = "https://weechat.org/files/src/weechat-${version}.tar.bz2"; - sha256 = "0mi4pfnyny0vqc35r0scn6yy21y790a5iwq8ms7kch7b7z11jn9w"; - }; - patches = []; - }) - ) {}).override { + mypkgs.weechat = weechat.override { configure = { availablePlugins, ... }: { plugins = with availablePlugins; [ + # Make sure websocket_client is not 0.55.0, it provokes + # regular crashes (python.withPackages (ps: with ps; [websocket_client emoji])) perl ruby