aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorJustin Bedo <cu@cua0.org>2026-01-08 10:33:47 +1100
committerJustin Bedo <cu@cua0.org>2026-01-08 10:33:47 +1100
commit5ed6e2a148acba7702f383b15077e488eff108b7 (patch)
treed1ee94363b2d624a286213ad0a04443fa954bf4d /flake.nix
parent41e567d5e2e105ba391536f46571995b4cfa009f (diff)
add HLS and switch to qualified post
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 "$@"
+ '')
];
};
})