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

This commit is contained in:
Peter Simons 2021-02-05 22:37:50 +01:00
parent 160d449726
commit 48104ded64
3 changed files with 8 additions and 0 deletions

View File

@ -88,5 +88,6 @@ self: super: {
# ghc versions prior to 8.8.x needs additional dependency to compile successfully.
ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex self.ghc-lib-parser;
hls-hlint-plugin = addBuildDepend super.hls-hlint-plugin self.ghc-lib;
}

View File

@ -95,5 +95,8 @@ self: super: {
# This became a core library in ghc 8.10., so we dont have an "exception" attribute anymore.
exceptions = super.exceptions_0_10_4;
# Older compilers need the latest ghc-lib to build this package.
hls-hlint-plugin = addBuildDepend super.hls-hlint-plugin self.ghc-lib;
mmorph = super.mmorph_1_1_3;
}

View File

@ -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;
}