From 9671237414c6f6a2d954159b38b34b0ee6f1ba69 Mon Sep 17 00:00:00 2001 From: Dmitriy Pleshevskiy Date: Fri, 31 Mar 2023 15:20:46 +0300 Subject: [PATCH] user: use unstable haskell packages to build xmonad --- home/modules/window_manager/xmonad.nix | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/home/modules/window_manager/xmonad.nix b/home/modules/window_manager/xmonad.nix index a4cde89..9195c7e 100644 --- a/home/modules/window_manager/xmonad.nix +++ b/home/modules/window_manager/xmonad.nix @@ -14,6 +14,13 @@ let themeCfg = config.local.theme; in windowManager.xmonad = { enable = true; enableContribAndExtras = true; + + haskellPackages = pkgs.unstable.haskellPackages; + extraPackages = (hp: [ + hp.dbus + hp.monad-logger + ]); + config = pkgs.substituteAll { src = ./xmonad_config.hs; inherit (themeCfg.bar) background mainText inactiveText; @@ -21,10 +28,6 @@ let themeCfg = config.local.theme; in inherit (themeCfg.highlights) critical warning success; inherit (themeCfg.syntax) mark1 mark2 mark3; }; - extraPackages = (hp: [ - hp.dbus - hp.monad-logger - ]); }; initExtra = ''