aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/flake.nix b/flake.nix
index 9a12c04..432d3a0 100644
--- a/flake.nix
+++ b/flake.nix
@@ -23,8 +23,13 @@
shell.tools = {
hlint = {};
ormolu = {};
+ haskell-language-server = {};
};
- shell.buildInputs = with pkgs; [
+ shell.buildInputs = [
+ (pkgs.writeScriptBin "haskell-language-server-wrapper" ''
+ #!${pkgs.stdenv.shell}
+ exec haskell-language-server "$@"
+ '')
];
};
})