about summary refs log tree commit diff
path: root/flake.nix
diff options
context:
space:
mode:
authorAzat Bahawi <azahi@teknik.io>2021-11-23 03:19:06 +0300
committerAzat Bahawi <azahi@teknik.io>2021-11-23 03:19:06 +0300
commit729e030dd25da2e36fa5a1312b8ecb3415dc1675 (patch)
tree53166b6c3bd96f860d0a7242353ef9cc7bb1790f /flake.nix
parentRemove tests (diff)
Huge update
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/flake.nix b/flake.nix
index 1fb71dc..7234537 100644
--- a/flake.nix
+++ b/flake.nix
@@ -19,12 +19,15 @@
           inherit returnShellEnv;
           name = "xmonad-ng";
           root = ./.;
-          withHoogle = false;
-          overrides = self: super:
-            with pkgs.haskell.lib;
-            {
-              # TODO Override xmobar.
-            };
+          modifier = drv:
+            pkgs.haskell.lib.addBuildTools drv (with pkgs.haskellPackages; [
+              brittany
+              cabal-install
+              haskell-language-server
+              hlint
+              hpack
+              stack
+            ]);
         };
     in {
       defaultPackage.${system} = project false;

Consider giving Nix/NixOS a try! <3