File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,15 +86,15 @@ library
8686
8787 build-depends : bytestring >= 0.10 && < 0.13
8888 -- We need to pin a single major version of
89- -- Cabal here because the main reason we use
90- -- Cabal is for its list of extensions. Later
89+ -- Cabal-syntax here because the main reason we use
90+ -- Cabal-syntax is for its list of extensions. Later
9191 -- versions have strictly more extensions, and
9292 -- we'll have missing patterns if we try to
9393 -- support more than one major version. If
9494 -- this causes problems in practice let's
9595 -- revisit this decision and come up with
9696 -- another approach.
97- , Cabal ^>= 3.14
97+ , Cabal-syntax ^>= 3.14
9898 , containers >= 0.6 && < 0.8
9999 , directory ^>= 1.3
100100 , filepath >= 1.4 && < 1.6
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ import Distribution.Types.GenericPackageDescription (GenericPackageDescription (
4141import Distribution.Types.Library (Library (.. ))
4242import Distribution.Types.TestSuite (TestSuite (.. ))
4343import Distribution.Types.TestSuiteInterface (TestSuiteInterface (.. ))
44- #if MIN_VERSION_Cabal (3,6,0)
44+ #if MIN_VERSION_Cabal_syntax (3,6,0)
4545import Distribution.Utils.Path (getSymbolicPath )
4646#endif
4747import GHC.LanguageExtensions.Type (Extension (.. ))
@@ -147,7 +147,7 @@ condTreeToExtensions
147147condTreeToExtensions extractModules extractBuildInfo condTree = do
148148 let comp = condTreeData condTree
149149 let buildInfo = extractBuildInfo comp
150- #if MIN_VERSION_Cabal (3,6,0)
150+ #if MIN_VERSION_Cabal_syntax (3,6,0)
151151 let srcDirs = getSymbolicPath <$> hsSourceDirs buildInfo
152152#else
153153 let srcDirs = hsSourceDirs buildInfo
You can’t perform that action at this time.
0 commit comments