hls-hlint-plugin: add new ghc-lib dependency when building with older compilers

This commit is contained in:
Peter Simons
2021-02-05 23:05:20 +01:00
parent 160d449726
commit 48104ded64
3 changed files with 8 additions and 0 deletions
@@ -123,4 +123,8 @@ self: super: {
# ghc versions which dont match the ghc-lib-parser-ex version need the
# additional dependency to compile successfully.
ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex self.ghc-lib-parser;
# Older compilers need the latest ghc-lib to build this package.
hls-hlint-plugin = addBuildDepend super.hls-hlint-plugin self.ghc-lib;
}