[Git][haskell-team/pkg-haskell-tools][master] Fix FTBFS

Clint Adams (@clint) gitlab at salsa.debian.org
Mon Oct 3 02:18:36 BST 2022



Clint Adams pushed to branch master at Debian Haskell Group / pkg-haskell-tools


Commits:
6c67eca5 by Clint Adams at 2022-10-02T21:17:29-04:00
Fix FTBFS

- - - - -


4 changed files:

- debian/changelog
- debian/control
- dht.cabal
- src/make-all.hs


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+pkg-haskell-tools (0.12.4) unstable; urgency=medium
+
+  * Conform to optparse-applicative API change.
+
+ -- Clint Adams <clint at debian.org>  Sun, 02 Oct 2022 21:16:33 -0400
+
 pkg-haskell-tools (0.12.3) unstable; urgency=medium
 
   * Team Upload


=====================================
debian/control
=====================================
@@ -11,7 +11,7 @@ Build-Depends: debhelper (>= 10),
  ghc-prof,
  libghc-debian-dev (>= 3.89),
  libghc-extra-dev (>= 1.1),
- libghc-optparse-applicative-dev (>= 0.12),
+ libghc-optparse-applicative-dev (>= 0.16),
  libghc-parsec3-dev,
  libghc-shake-dev (>= 0.16),
  libghc-split-dev (>= 0.2),


=====================================
dht.cabal
=====================================
@@ -30,7 +30,7 @@ executable make-all
     shake >= 0.16,
     extra >= 1.1,
     debian >= 3.89,
-    optparse-applicative >= 0.12,
+    optparse-applicative >= 0.16,
     split == 0.2.*,
     concurrent-output >= 1.7
   hs-source-dirs:      src


=====================================
src/make-all.hs
=====================================
@@ -314,7 +314,7 @@ main = do
     args <- getArgs
     case args of
         ["--manpage"] -> do
-            let failure = parserFailure (prefs idm) opts ShowHelpText mempty
+            let failure = parserFailure (prefs idm) opts (ShowHelpText Nothing) mempty
             let message = renderFailure failure "dht make-all"
             putStrLn . unlines . drop 2 . lines . fst $ message
         _ -> execParser opts >>= run



View it on GitLab: https://salsa.debian.org/haskell-team/pkg-haskell-tools/-/commit/6c67eca5693dc524dec22bad05390ef22a8a1845

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/pkg-haskell-tools/-/commit/6c67eca5693dc524dec22bad05390ef22a8a1845
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20221003/a835723b/attachment-0001.htm>


More information about the Pkg-haskell-commits mailing list