commit:     a4580b5ec680ccc90ed70b16843e142ee29f88ac
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon May 16 06:26:44 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 20 17:15:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4580b5e

haskell-cabal.eclass: Update function call

ghc-extractportageversion was renamed to ghc-extract-pm-version.

Bug: https://bugs.gentoo.org/843713
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/haskell-cabal.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 64dcabb852b1..541bb4a90ee5 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -183,7 +183,7 @@ cabal-version() {
                else
                        # We ask portage, not ghc, so that we only pick up
                        # portage-installed cabal versions.
-                       _CABAL_VERSION_CACHE="$(ghc-extractportageversion 
dev-haskell/cabal)"
+                       _CABAL_VERSION_CACHE="$(ghc-extract-pm-version 
dev-haskell/cabal)"
                fi
        fi
        echo "${_CABAL_VERSION_CACHE}"

Reply via email to