X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=default.nix;h=b1ae800027ceffcf35e5c0f9d4cfb5e20864cfbb;hp=444d29d8b4a67509b29747daaf2240aa97d82bcf;hb=111049f36408d221bf5452ba9124b782100376a8;hpb=18fdf47041026412e365224f21c258b436ceda18 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