diff options
author | lassulus <lassulus@lassul.us> | 2020-04-18 14:59:35 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-04-18 14:59:35 +0200 |
commit | eb15765624036550a9b1d9186bbadea5d937ffd8 (patch) | |
tree | b462cced618ba8e06d6d3384277920114778bfae /lass/5pkgs/custom | |
parent | 018efa847f1ae3ef1890ab11a0e4dc247aa603df (diff) |
l xmonad: use upstream writers
Diffstat (limited to 'lass/5pkgs/custom')
-rw-r--r-- | lass/5pkgs/custom/xmonad-lass/default.nix | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/lass/5pkgs/custom/xmonad-lass/default.nix b/lass/5pkgs/custom/xmonad-lass/default.nix index 5d8653721..f9d73c139 100644 --- a/lass/5pkgs/custom/xmonad-lass/default.nix +++ b/lass/5pkgs/custom/xmonad-lass/default.nix @@ -1,16 +1,10 @@ { config, pkgs, ... }: -pkgs.writeHaskellPackage "xmonad-lass" { - executables.xmonad = { - extra-depends = [ - "containers" - "extra" - "unix" - "X11" - "xmonad" - "xmonad-contrib" - "xmonad-stockholm" - ]; - text = /* haskell */ '' +pkgs.writers.writeHaskellBin "xmonad" { + libraries = with pkgs.haskellPackages; [ + extra + xmonad-stockholm + ]; +} /* haskell */ '' {-# LANGUAGE LambdaCase #-} @@ -220,6 +214,4 @@ gridConfig = def allWorkspaceNames :: W.StackSet i l a sid sd -> X [i] allWorkspaceNames ws = return $ map W.tag (W.hidden ws ++ (map W.workspace $ W.visible ws)) ++ [W.tag $ W.workspace $ W.current ws] - ''; - }; -} +'' |