diff options
author | makefu <github@syntax-fehler.de> | 2016-06-06 21:27:50 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-06-06 21:27:50 +0200 |
commit | d587575deb7d6d3c94f684a7b6f6a6a2da0db247 (patch) | |
tree | 71dc6d19487bdbc2451a6711e220a7000023c4db /tv/5pkgs/xmonad-tv.nix | |
parent | 7bbf87d9a4923f15cc04847ad762e4279ee752bf (diff) | |
parent | baa20586b875e5b6bd600cf731f15d2251d05c95 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'tv/5pkgs/xmonad-tv.nix')
-rw-r--r-- | tv/5pkgs/xmonad-tv.nix | 25 |
1 files changed, 14 insertions, 11 deletions
diff --git a/tv/5pkgs/xmonad-tv.nix b/tv/5pkgs/xmonad-tv.nix index 74e43dc79..04e7e8359 100644 --- a/tv/5pkgs/xmonad-tv.nix +++ b/tv/5pkgs/xmonad-tv.nix @@ -1,14 +1,15 @@ { pkgs, ... }: -pkgs.writeHaskellBin "xmonad-tv" { - depends = [ - "containers" - "unix" - "X11" - "xmonad" - "xmonad-contrib" - "xmonad-stockholm" - ]; -} '' +pkgs.writeHaskell "xmonad-tv" { + executables.xmonad = { + extra-depends = [ + "containers" + "unix" + "X11" + "xmonad" + "xmonad-contrib" + "xmonad-stockholm" + ]; + text = '' {-# LANGUAGE DeriveDataTypeable #-} -- for XS {-# LANGUAGE FlexibleContexts #-} -- for xmonad' {-# LANGUAGE LambdaCase #-} @@ -299,4 +300,6 @@ wGSConfig = def allWorkspaceNames :: W.StackSet i l a sid sd -> X [i] allWorkspaceNames ws = return $ map W.tag (W.hidden ws) ++ [W.tag $ W.workspace $ W.current ws] -'' + ''; + }; +} |