diff --git a/mk/config.mk.in b/mk/config.mk.in
index 025a94e6c3525a151766c93dc6378e942479e2a6..3d7709087dc5f6ab9bb2ab8f0a057ecc8bdfbebf 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -287,7 +287,7 @@ HsLibHcOpts=$(GhcLibHcOpts)
 #################################################################################
 
 # The compiler you'd like to use to compile Happy
-WithHappyHc = ghc-0.29
+WithHappyHc = $(WithGhcHc)
 
 # HappyHcOpts gives the flags to pass to the Haskell compiler used
 # 	      to compile the Happy source coed