This commit is contained in:
Ivan Malison 2020-12-01 16:12:01 -08:00
parent bd8017bfd6
commit 874cad02b1
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
4 changed files with 9 additions and 19 deletions

View File

@ -1,19 +1,7 @@
(import ./taffybar/nixpkgs.nix) {
pkgs: pkgs {
overlays = [
(import ./taffybar/overlay.nix)
(import ../xmonad/overlay.nix)
(_: super: {
haskellPackages = super.haskellPackages.override (old: {
overrides = super.lib.composeExtensions (old.overrides or (_: _: {})) (self: _: {
imalison-taffybar =
self.callCabal2nix "imalison-taffybar"
(
super.lib.sourceByRegex ./.
["taffybar.hs" "imalison-taffybar.cabal"]
)
{ };
});
});
})
(import ./overlay.nix)
];
}

View File

@ -1 +1 @@
(import ./base.nix).haskellPackages.imalison-taffybar
(import ./base.nix).haskellPackages.imalison-taffybar (import ./taffybar/nixpkgs.nix)

View File

@ -1,4 +1,4 @@
(import ../taffybar/taffybar/nixpkgs.nix) {
pkgs: pkgs {
overlays = [
(import ../taffybar/taffybar/overlay.nix)
(import ./overlay.nix)

View File

@ -25,7 +25,9 @@ in
{
nixpkgs.overlays = [
(import ./overlays.nix)
(import ../dotfiles/config/taffybar/taffybar/environment.nix)
(import ../dotfiles/config/taffybar/taffybar/overlay.nix)
(import ../dotfiles/config/xmonad/overlay.nix)
(import ../dotfiles/config/taffybar/overlay.nix)
];
# Allow all the things
@ -142,8 +144,8 @@ in
plasma5.breeze-qt5
# Haskell Desktop
(import ../dotfiles/config/taffybar/default.nix)
(import ../dotfiles/config/xmonad/default.nix)
haskellPackages.imalison-xmonad
haskellPackages.imalison-taffybar
# notifications-tray-icon
haskellPackages.status-notifier-item
haskellPackages.xmonad