add hls-wrapper to flake

This commit is contained in:
Youwen Wu 2024-05-23 23:14:18 -07:00
parent c077bf7d8a
commit db843d5587
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -19,6 +19,7 @@
outputs = { self, nixpkgs, flake-utils, haskellNix }: outputs = { self, nixpkgs, flake-utils, haskellNix }:
flake-utils.lib.eachDefaultSystem (system: flake-utils.lib.eachDefaultSystem (system:
let let
hls = pkgs.haskell-language-server;
overlays = [ haskellNix.overlay overlays = [ haskellNix.overlay
(final: prev: { (final: prev: {
hakyllProject = final.haskell-nix.project' { hakyllProject = final.haskell-nix.project' {
@ -27,6 +28,7 @@
modules = [{ doHaddock = false; }]; modules = [{ doHaddock = false; }];
shell.buildInputs = [ shell.buildInputs = [
hakyll-site hakyll-site
hls
]; ];
shell.tools = { shell.tools = {
cabal = "latest"; cabal = "latest";