diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 3d4043a73a7..105e38e0aa8 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1419,6 +1419,19 @@ self: super: { # https://github.com/haskell/haskell-language-server/issues/1536 hls-tactics-plugin = dontCheck super.hls-tactics-plugin; + # 2021-03-24: hlint 3.3 is for ghc 9 compat, but hls only supports ghc 8.10 + hls-hlint-plugin = super.hls-hlint-plugin.override { + hlint = super.hlint_3_2_7; + }; + + # hlint 3.3 needs a ghc-lib-parser newer than the one from stackage + hlint = super.hlint.overrideScope (self: super: { + ghc-lib-parser = overrideCabal self.ghc-lib-parser_9_0_1_20210207 { + doHaddock = false; + }; + ghc-lib-parser-ex = self.ghc-lib-parser-ex_9_0_0_4; + }); + # 2021-03-21 Test hangs # https://github.com/haskell/haskell-language-server/issues/1562 # Jailbreak because of: https://github.com/haskell/haskell-language-server/pull/1595 diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index 12b0a5d9731..cbfaf58bab0 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -73,7 +73,6 @@ default-package-overrides: # gi-gdkx11-4.x requires gtk-4.x, which is still under development and # not yet available in Nixpkgs - gi-gdkx11 < 4 - - hlint < 3.3 # We don‘t have ghc-lib-parser 9.0.X yet. - ghcide < 1.1 # To stay hls 1.0 compatible - hls-retrie-plugin < 1.0.0.1 # To stay hls 1.0 compatible @@ -2766,6 +2765,7 @@ extra-packages: - haskell-lsp == 0.23.0.0 # required by hls-plugin-api 0.7.0.0, 2021-02-08 - haskell-lsp-types == 0.23.0.0 # required by hls-plugin-api 0.7.0.0, 2021-02-08 - lsp-test == 0.11.0.7 # required by hls-plugin-api 0.7.0.0, 2021-02-08 + - hlint < 3.3 # We don‘t have ghc-lib-parser 9.0.X yet. - optparse-applicative < 0.16 # needed for niv-0.2.19 package-maintainers: diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 634e4dee707..0c1886b6083 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -89329,8 +89329,6 @@ self: { executableHaskellDepends = [ base mtl optparse-applicative split ]; description = "A compiler for Fay, a Haskell subset that compiles to JavaScript"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-base" = callPackage @@ -89343,8 +89341,6 @@ self: { libraryHaskellDepends = [ base fay ]; description = "The base package for Fay"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-builder" = callPackage @@ -89378,8 +89374,6 @@ self: { libraryHaskellDepends = [ fay-base ]; description = "DOM FFI wrapper library for Fay"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-geoposition" = callPackage @@ -89392,8 +89386,6 @@ self: { libraryHaskellDepends = [ fay-base fay-text ]; description = "W3C compliant implementation of GeoPosition API"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-hsx" = callPackage @@ -89420,8 +89412,6 @@ self: { libraryHaskellDepends = [ fay-base fay-text ]; description = "jQuery bindings for Fay"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-ref" = callPackage @@ -89434,8 +89424,6 @@ self: { libraryHaskellDepends = [ fay-base ]; description = "Like IORef but for Fay"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-simplejson" = callPackage @@ -89464,8 +89452,6 @@ self: { libraryHaskellDepends = [ fay fay-base text ]; description = "Fay Text type represented as JavaScript strings"; license = lib.licenses.mit; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-uri" = callPackage @@ -89478,8 +89464,6 @@ self: { libraryHaskellDepends = [ fay-base ]; description = "Persistent FFI bindings for using jsUri in Fay"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fay-websockets" = callPackage @@ -89492,8 +89476,6 @@ self: { libraryHaskellDepends = [ fay-base ]; description = "Websockets FFI library for Fay"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "fb" = callPackage @@ -103484,8 +103466,6 @@ self: { ]; description = "Declarative GTK+ programming in Haskell"; license = lib.licenses.mpl20; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "gi-gtk-declarative-app-simple" = callPackage @@ -103507,8 +103487,6 @@ self: { ]; description = "Declarative GTK+ programming in Haskell in the style of Pux"; license = lib.licenses.mpl20; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "gi-gtk-hs" = callPackage @@ -130078,7 +130056,7 @@ self: { license = lib.licenses.mit; }) {inherit (pkgs) libsass;}; - "hlint" = callPackage + "hlint_3_2_7" = callPackage ({ mkDerivation, aeson, ansi-terminal, base, bytestring, cmdargs , containers, cpphs, data-default, directory, extra, file-embed , filepath, filepattern, ghc, ghc-boot, ghc-boot-th @@ -130101,9 +130079,10 @@ self: { executableHaskellDepends = [ base ]; description = "Source code suggestions"; license = lib.licenses.bsd3; + hydraPlatforms = lib.platforms.none; }) {}; - "hlint_3_3" = callPackage + "hlint" = callPackage ({ mkDerivation, aeson, ansi-terminal, base, bytestring, cmdargs , containers, cpphs, data-default, directory, extra, file-embed , filepath, filepattern, ghc-lib-parser, ghc-lib-parser-ex @@ -130126,7 +130105,6 @@ self: { executableHaskellDepends = [ base ]; description = "Source code suggestions"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "hlint-test" = callPackage @@ -152667,7 +152645,6 @@ self: { ]; description = "Load JSON from files in a directory structure"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; }) {}; "json-encoder" = callPackage @@ -158285,8 +158262,6 @@ self: { ]; description = "JavaScript parser and pretty-printer library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "language-ecmascript-analysis" = callPackage @@ -158302,8 +158277,6 @@ self: { ]; description = "JavaScript static analysis library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; - broken = true; }) {}; "language-eiffel" = callPackage