Add taffybar shell nix files
This commit is contained in:
parent
92fb9f03c1
commit
b611d8a1e2
1
dotfiles/config/taffybar/cabal.project
Normal file
1
dotfiles/config/taffybar/cabal.project
Normal file
@ -0,0 +1 @@
|
||||
packages: . taffybar/
|
@ -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
|
||||
|
7
dotfiles/config/taffybar/shell.nix
Normal file
7
dotfiles/config/taffybar/shell.nix
Normal 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
|
Loading…
Reference in New Issue
Block a user