From c8efcc80cb361fbadcb34276f655e060e054ae31 Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Mon, 31 Oct 2022 11:53:04 -0400 Subject: [PATCH] Add haskell dev tools --- home-manager/common/programs/devel.nix | 9 +++++++++ home-manager/options.nix | 2 ++ 2 files changed, 11 insertions(+) diff --git a/home-manager/common/programs/devel.nix b/home-manager/common/programs/devel.nix index 1f9c534..7f0e22b 100644 --- a/home-manager/common/programs/devel.nix +++ b/home-manager/common/programs/devel.nix @@ -79,5 +79,14 @@ with nLib; { rlwrap ]; }) + # Haskell Development + (mkIf devel.haskell { + home.packages = with pkgs; [ + (haskellPackages.ghcWithPackages + (p: with p; [ turtle cabal-install stack brittany hoogle ])) + haskell-language-server + hlint + ]; + }) ]; } diff --git a/home-manager/options.nix b/home-manager/options.nix index f4854d6..9f0a68b 100644 --- a/home-manager/options.nix +++ b/home-manager/options.nix @@ -45,6 +45,8 @@ with nLib; { config.nathan.config.isDesktop; idris2 = mkDefaultOption "Idris 2 Development Utilites" config.nathan.config.isDesktop; + haskell = mkDefaultOption "Haskell Development Utilites" + config.nathan.config.isDesktop; }; # Emacs, enabled by default on desktop emacs = {