summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2022-05-16 08:26:44 +0200
committerUlrich Müller <ulm@gentoo.org>2022-05-20 19:15:04 +0200
commita4580b5ec680ccc90ed70b16843e142ee29f88ac (patch)
treee8ea1db532da0c42cda8b0b36d6971de03d0d6a7 /eclass/haskell-cabal.eclass
parentghc-package.eclass: Avoid reserved function name (diff)
downloadgentoo-a4580b5ec680ccc90ed70b16843e142ee29f88ac.tar.gz
gentoo-a4580b5ec680ccc90ed70b16843e142ee29f88ac.tar.bz2
gentoo-a4580b5ec680ccc90ed70b16843e142ee29f88ac.zip
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@gentoo.org>
Diffstat (limited to 'eclass/haskell-cabal.eclass')
-rw-r--r--eclass/haskell-cabal.eclass2
1 files changed, 1 insertions, 1 deletions
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}"