ngx-export-distribution 0.5.0.3 → 0.5.0.4
raw patch · 4 files changed
+10/−6 lines, 4 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Changelog.md +4/−0
- NgxExport/Distribution.hs +4/−4
- ngx-export-distribution.cabal +1/−1
- nhm-tool.hs +1/−1
Changelog.md view
@@ -1,3 +1,7 @@+### 0.5.0.4++- *nhm-tool*: use GHC option *-flink-rts* only in GHC *9.x*.+ ### 0.5.0.3 - *nhm-tool*: replace dependency on *prettyprinter* by *ansi-terminal*.
NgxExport/Distribution.hs view
@@ -187,7 +187,7 @@ -- -- Notes about the value of /--ghc-options/ in command /cabal v1-build/. ----- - In ghc older than /8.10.6/, option /-threaded/ must be replaced with option+-- - In ghc older than /9.0.1/, option /-threaded/ must be replaced with option -- /-lHSrts_thr-ghc$(ghc --numeric-version)/ because ghc option /-flink-rts/, -- which is passed by the module internally, has first appeared in the said -- release,@@ -298,7 +298,7 @@ -- > $ make -- > $ sudo make install ----- With ghc older than /8.10.6/, build with+-- With ghc older than /9.0.1/, build with -- -- > $ make LINKRTS=-lHSrts_thr-ghc$(ghc --numeric-version) @@ -323,7 +323,7 @@ -- -- Runs /ghc/ compiler with the following arguments. ----- - /-dynamic/, /-shared/, /-fPIC/, /-flink-rts/ (in /ghc 8.10.6/ and newer),+-- - /-dynamic/, /-shared/, /-fPIC/, /-flink-rts/ (in /ghc 9.0.1/ and newer), -- - all arguments listed in /ghc-options/ in the Cabal file, -- - all arguments passed in option /--ghc-options/ from command-line, -- - if arguments do not contain /-o path/ so far, then /$pkg.hs/, /-o $pkg.so/.@@ -368,7 +368,7 @@ \you may want to specify input and output files in --ghc-options" ghcP <- fst <$> requireProgram verbosity ghcProgram (withPrograms lbi) let libGhcOptions = ["-dynamic", "-shared", "-fPIC"]- libGhcOptions' = if programVersion ghcP >= Just (mkVersion [8, 10, 6])+ libGhcOptions' = if programVersion ghcP >= Just (mkVersion [9, 0, 1]) then "-flink-rts" : libGhcOptions else libGhcOptions ghcR = programInvocation ghcP $
ngx-export-distribution.cabal view
@@ -1,5 +1,5 @@ name: ngx-export-distribution-version: 0.5.0.3+version: 0.5.0.4 synopsis: Build custom libraries for Nginx haskell module description: Build custom libraries for <https://github.com/lyokha/nginx-haskell-module Nginx haskell module>.
nhm-tool.hs view
@@ -458,7 +458,7 @@ then "" else "\n\- \ if impl(ghc >= 8.10.6)\n\+ \ if impl(ghc >= 9.0.1)\n\ \ ghc-options: -threaded\n" ]