summaryrefslogtreecommitdiff
path: root/eclass/ghc-package.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/ghc-package.eclass')
-rw-r--r--eclass/ghc-package.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ghc-package.eclass b/eclass/ghc-package.eclass
index 737db1b362e5..bd08b01d04ca 100644
--- a/eclass/ghc-package.eclass
+++ b/eclass/ghc-package.eclass
@@ -16,14 +16,14 @@ inherit multiprocessing versionator
# @DESCRIPTION:
# returns the name of the ghc executable
ghc-getghc() {
- type -P ghc
+ type -P ${HC:-ghc}
}
# @FUNCTION: ghc-getghcpkg
# @DESCRIPTION:
# Internal function determines returns the name of the ghc-pkg executable
ghc-getghcpkg() {
- type -P ghc-pkg
+ type -P ${HC_PKG:-ghc-pkg}
}
# @FUNCTION: ghc-getghcpkgbin