Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Fri, 20 May 2022 17:15:42
Message-Id: 1653066904.a4580b5ec680ccc90ed70b16843e142ee29f88ac.ulm@gentoo
1 commit: a4580b5ec680ccc90ed70b16843e142ee29f88ac
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 16 06:26:44 2022 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Fri May 20 17:15:04 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4580b5e
7
8 haskell-cabal.eclass: Update function call
9
10 ghc-extractportageversion was renamed to ghc-extract-pm-version.
11
12 Bug: https://bugs.gentoo.org/843713
13 Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>
14
15 eclass/haskell-cabal.eclass | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
19 index 64dcabb852b1..541bb4a90ee5 100644
20 --- a/eclass/haskell-cabal.eclass
21 +++ b/eclass/haskell-cabal.eclass
22 @@ -183,7 +183,7 @@ cabal-version() {
23 else
24 # We ask portage, not ghc, so that we only pick up
25 # portage-installed cabal versions.
26 - _CABAL_VERSION_CACHE="$(ghc-extractportageversion dev-haskell/cabal)"
27 + _CABAL_VERSION_CACHE="$(ghc-extract-pm-version dev-haskell/cabal)"
28 fi
29 fi
30 echo "${_CABAL_VERSION_CACHE}"