Fix 7.8 build error due to Cabal API change
Fix 7.8 build error due to Cabal API change

mrkkrp/stack,phadej/stack,MichielDerhaeg/stack,anton-dessiatov/stack,AndreasPK/stack,Blaisorblade/stack,AndrewRademacher/stack,Fuuzetsu/stack,deech/stack,Heather/stack,sjakobi/stack,AndrewRademacher/stack,Heather/stack,juhp/stack,juhp/stack,AndreasPK/stack,Fuuzetsu/stack,martin-kolinek/stack,Blaisorblade/stack,MichielDerhaeg/stack,martin-kolinek/stack,deech/stack,anton-dessiatov/stack,mrkkrp/stack,sjakobi/stack,phadej/stack