Add taffybar shell nix files

This commit is contained in:
Ivan Malison 2019-06-10 14:53:41 -07:00
parent 92fb9f03c1
commit b611d8a1e2
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
4 changed files with 9 additions and 3 deletions

View File

@ -0,0 +1 @@
packages: . taffybar/

View File

@ -33,8 +33,6 @@ executable imalison-taffybar
, taffybar>=3.2.0
, transformers
, xdg-basedir
, xmonad-contrib>=0.13
, xmonad>=0.13
default-language: Haskell2010
source-repository head

View File

@ -0,0 +1,7 @@
let
pkgs = import <nixpkgs> { overlays = [
(import ./taffybar/overlay.nix) (import ../xmonad/overlay.nix)
]; };
source = pkgs.lib.sourceByRegex ./. ["taffybar.hs" "imalison-taffybar.cabal"];
imalison-taffybar = pkgs.haskellPackages.callCabal2nix "imalison-taffybar" source { };
in pkgs.haskellPackages.shellFor { packages = _: [imalison-taffybar pkgs.haskellPackages.taffybar]; }

@ -1 +1 @@
Subproject commit c1a5c9a0f063251b4088f484b5dafdac85d32937
Subproject commit cb09a5d1c5ee7af55c627175373fb1ea469d651e