about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-07-02T18·35+0200
committerVincent Ambo <mail@tazj.in>2018-07-02T18·35+0200
commit3b3bae22f7c890b1c49be14b2307667f2a54c28e (patch)
treebca69cf6d0bc8848ad33d5b0ca8fa230049809d7
parentb08abbd81e4d0dbe867bc29edde3c8bfc280b83b (diff)
feat(pkgs): Install Haskell IDE Engine
-rw-r--r--packages.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/packages.nix b/packages.nix
index 9f5d13fb5b3d..4b1e6f57da9b 100644
--- a/packages.nix
+++ b/packages.nix
@@ -26,6 +26,13 @@ let
     rev    = "4b649a99d8461c980e7028a693387dc48033c1f7";
     sha256 = "0iy2gllj457052wkp20baigb2bnal9nhyai0z9hvjr3x25ngck4y";
   };
+
+  # Haskell IDE engine:
+  hieCommit = "8f04568aa8c3215f543250eb7a1acfa0cf2d24ed";
+  hie = import (fetchTarball {
+    url    = "https://github.com/domenkozar/hie-nix/archive/${hieCommit}.tar.gz";
+    sha256 = "06ygnywfnp6da0mcy4hq0xcvaaap1w3di2midv1w9b9miam8hdrn";
+  }) {};
 in {
   # Configure the Nix package manager
   nixpkgs = {
@@ -119,9 +126,11 @@ in {
     # Haskell packages:
     cabal-install
     ghc
+    hie.hie82
     hlint
     stack
     stack2nix
     haskellPackages.stylish-haskell
+    haskellPackages.yesod-bin
   ];
 }