
Remove hls-brittany as it's no longer necessary Fix the update script to include hls-explicit-imports-plugin and hls-retrhls-retrie-plugin
22 lines
842 B
Nix
22 lines
842 B
Nix
{ mkDerivation, aeson, base, containers, deepseq, fetchgit, ghc
|
|
, ghcide, haskell-lsp-types, hls-plugin-api, shake, stdenv, text
|
|
, unordered-containers
|
|
}:
|
|
mkDerivation {
|
|
pname = "hls-explicit-imports-plugin";
|
|
version = "0.1.0.0";
|
|
src = fetchgit {
|
|
url = "https://github.com/haskell/haskell-language-server.git";
|
|
sha256 = "0w37792wkq4ys7afgali4jg1kwgkbpk8q0y95fd2j1vgpk0pndlr";
|
|
rev = "6a692de3308c06d8eb7bdf0f7b8a35b6e9a92610";
|
|
fetchSubmodules = true;
|
|
};
|
|
postUnpack = "sourceRoot+=/plugins/hls-explicit-imports-plugin; echo source root reset to $sourceRoot";
|
|
libraryHaskellDepends = [
|
|
aeson base containers deepseq ghc ghcide haskell-lsp-types
|
|
hls-plugin-api shake text unordered-containers
|
|
];
|
|
description = "Explicit imports plugin for Haskell Language Server";
|
|
license = stdenv.lib.licenses.asl20;
|
|
}
|