3
3
4
4
module StackSetupShim where
5
5
6
- -- | Stack no longer supports Cabal < 2.2 and, consequently, GHC versions before
6
+ -- Stack no longer supports Cabal < 2.2 and, consequently, GHC versions before
7
7
-- GHC 8.4 or base < 4.11.0.0. Consequently, we do not need to test for the
8
8
-- existence of the MIN_VERSION_Cabal macro (provided from GHC 8.0).
9
9
10
10
import Data.List ( stripPrefix )
11
11
import Distribution.ReadE ( ReadE (.. ) )
12
12
import Distribution.Simple.Configure ( getPersistBuildConfig )
13
- -- | Temporary, can be removed if initialBuildSteps restored to Cabal's API.
13
+ -- Temporary, can be removed if initialBuildSteps restored to Cabal's API.
14
14
#if MIN_VERSION_Cabal(3,11,0)
15
15
import Distribution.Simple.Build ( writeBuiltinAutogenFiles )
16
16
#else
@@ -19,7 +19,7 @@ import Distribution.Simple.Build ( initialBuildSteps )
19
19
#if MIN_VERSION_Cabal(3,11,0)
20
20
import Distribution.Simple.Errors ( exceptionMessage )
21
21
#endif
22
- -- | Temporary, can be removed if initialBuildSteps restored to Cabal's API.
22
+ -- Temporary, can be removed if initialBuildSteps restored to Cabal's API.
23
23
#if MIN_VERSION_Cabal(3,11,0)
24
24
import Distribution.Simple.LocalBuildInfo
25
25
( componentBuildDir , withAllComponentsInBuildOrder )
@@ -41,7 +41,7 @@ import Distribution.Types.GenericPackageDescription
41
41
import "Cabal " Distribution.Types.GenericPackageDescription
42
42
( GenericPackageDescription (.. ) )
43
43
#endif
44
- -- | Temporary, can be removed if initialBuildSteps restored to Cabal's API.
44
+ -- Temporary, can be removed if initialBuildSteps restored to Cabal's API.
45
45
#if MIN_VERSION_Cabal(3,11,0)
46
46
import Distribution.Types.ComponentLocalBuildInfo ( ComponentLocalBuildInfo )
47
47
import Distribution.Types.LocalBuildInfo ( LocalBuildInfo )
0 commit comments