aboutsummaryrefslogtreecommitdiff
path: root/src/CabalHelper/Compiletime/Compat/ProgramDb.hs
blob: 89dd886fe0ddf554463383cc7b939075266ee335 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{-# LANGUAGE CPP #-}
module CabalHelper.Compiletime.Compat.ProgramDb
    ( defaultProgramDb
    , programPath
    , lookupProgram
    , ghcProgram
    , ghcPkgProgram
    ) where

import Distribution.Simple.Program

#if !MIN_VERSION_Cabal(2,0,0)
defaultProgramDb = defaultProgramConfiguration
#endif