[NixOS] Use xmonad directories default.nix to build xmonad

This commit is contained in:
Ivan Malison 2019-06-26 14:12:11 -07:00
parent 02bef2eb26
commit 35da9cada0
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -16,9 +16,6 @@ let
]; ];
python-with-my-packages = pkgs.python3.withPackages my-python-packages; python-with-my-packages = pkgs.python3.withPackages my-python-packages;
all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {}; all-hies = import (fetchTarball "https://github.com/infinisil/all-hies/tarball/master") {};
xmonadSource = pkgs.lib.sourceByRegex ../dotfiles/config/xmonad [
"xmonad.hs" "imalison-xmonad.cabal" "PagerHints.hs" "LICENSE"
];
notifications-tray-icon-source = pkgs.fetchFromGitHub { notifications-tray-icon-source = pkgs.fetchFromGitHub {
owner = "IvanMalison"; owner = "IvanMalison";
repo = "notifications-tray-icon"; repo = "notifications-tray-icon";
@ -131,7 +128,7 @@ in
# Haskell Desktop # Haskell Desktop
(import ../dotfiles/config/taffybar/default.nix) (import ../dotfiles/config/taffybar/default.nix)
(haskellPackages.callCabal2nix "imalison-xmonad" xmonadSource { }) (import ../dotfiles/config/xmonad/default.nix)
(ntiHaskellPackages.callCabal2nix "notifications-tray-icon" notifications-tray-icon-source { }) (ntiHaskellPackages.callCabal2nix "notifications-tray-icon" notifications-tray-icon-source { })
haskellPackages.gtk-sni-tray haskellPackages.gtk-sni-tray
haskellPackages.status-notifier-item haskellPackages.status-notifier-item