Open mrVanDalo opened 5 years ago
Seems that it does not work as expected.
# VSCode hde setup
# https://github.com/haskell/haskell-ide-engine#using-vs-code-with-nix
((pkgs.vscode-with-extensions.override{
vscodeExtensions = with vscode-extensions; [
bbenoist.Nix
] ++ vscode-utils.extensionsFromVscodeMarketplace [
{
# justusadam.language-haskell
name = "language-haskell";
publisher = "justusadam";
version = "2.4.0";
sha256 = "1xgxs0s3w5kf356nslf020svn2hr6dq216ndwjk23v6mqs1xfxgv";
}
{
# alanz.vscode-hie-server
name = "vscode-hie-server";
publisher = "alanz";
version = "0.0.27";
sha256 = "1mz0h5zd295i73hbji9ivla8hx02i4yhqcv6l4r23w3f07ql3i8h";
}
];
}).overrideDerivation (old: {
postFixup = ''
wrapProgram $out/bin/code --prefix PATH : ${lib.makeBinPath [
# Install stable HIE for GHC 8.6.4 (multiple ghc versions are allowed)
(all-hies.selection { selector = p: { inherit (p) ghc864; }; })
]}
'';
}))
this kinda works, but the hie does not start at the end
add extensions to haskell setup.