diff --git a/install/hls-install.cabal b/install/hls-install.cabal index a303c32cff..356446caa1 100644 --- a/install/hls-install.cabal +++ b/install/hls-install.cabal @@ -1,40 +1,47 @@ -name: hls-install -version: 0.8.0.0 -synopsis: Install the haskell-language-server -license: BSD3 -author: Many, TBD when we release -maintainer: samuel.pilz@posteo.net -copyright: 2019 -build-type: Simple -cabal-version: >=2.0 +name: hls-install +version: 0.8.0.0 +synopsis: Install the haskell-language-server +license: BSD3 +author: Many, TBD when we release +maintainer: samuel.pilz@posteo.net +copyright: 2019 +build-type: Simple +cabal-version: >=2.0 library - hs-source-dirs: src - exposed-modules: HlsInstall - other-modules: BuildSystem - , Stack - , Version - , Cabal - , Print - , Env - , Help - build-depends: base >= 4.9 && < 5 - , shake >= 0.16.4 && < 0.19 - , directory - , filepath - , extra - , text - default-extensions: LambdaCase - , TupleSections - , RecordWildCards - default-language: Haskell2010 + hs-source-dirs: src + exposed-modules: HlsInstall + other-modules: + BuildSystem + Cabal + Env + Help + Print + Stack + Version + + build-depends: + base >=4.9 && <5 + , directory + , extra + , filepath + , shake >=0.17.5 + , text + + default-extensions: + LambdaCase + RecordWildCards + TupleSections + + default-language: Haskell2010 if flag(run-from-stack) - cpp-options: -DRUN_FROM_STACK + cpp-options: -DRUN_FROM_STACK + else build-depends: cabal-install-parsers flag run-from-stack - description: Inform the application that it is run from stack - default: False - manual: True + description: Inform the application that it is run from stack + default: False + manual: True