user: use unstable haskell packages to build xmonad

This commit is contained in:
Dmitriy Pleshevskiy 2023-03-31 15:20:46 +03:00
parent 9eb203cdbc
commit 9671237414
Signed by: pleshevskiy
GPG key ID: 79C4487B44403985

View file

@ -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 = ''