Add migration guide for #9718 (#10578)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / issue-6083-b.expr
blob17b9f8319bb97536ddc3250091030344329310f0
1 GenericPackageDescription {
2   packageDescription =
3   PackageDescription {
4     specVersion = CabalSpecV3_0,
5     package = PackageIdentifier {
6       pkgName = PackageName "issue",
7       pkgVersion = mkVersion [6083]},
8     licenseRaw = Left NONE,
9     licenseFiles = [],
10     copyright = "",
11     maintainer = "",
12     author = "",
13     stability = "",
14     testedWith = [],
15     homepage = "",
16     pkgUrl = "",
17     bugReports = "",
18     sourceRepos = [],
19     synopsis = "",
20     description = "",
21     category = "",
22     customFieldsPD = [],
23     buildTypeRaw = Nothing,
24     setupBuildInfo = Nothing,
25     library = Nothing,
26     subLibraries = [],
27     executables = [],
28     foreignLibs = [],
29     testSuites = [],
30     benchmarks = [],
31     dataFiles = [],
32     dataDir = SymbolicPath ".",
33     extraSrcFiles = [],
34     extraTmpFiles = [],
35     extraDocFiles = [],
36     extraFiles = []},
37   gpdScannedVersion = Nothing,
38   genPackageFlags = [],
39   condLibrary = Just
40     CondNode {
41       condTreeData = Library {
42         libName = LMainLibName,
43         exposedModules = [],
44         reexportedModules = [],
45         signatures = [],
46         libExposed = True,
47         libVisibility =
48         LibraryVisibilityPublic,
49         libBuildInfo = BuildInfo {
50           buildable = True,
51           buildTools = [],
52           buildToolDepends = [],
53           cppOptions = [],
54           asmOptions = [],
55           cmmOptions = [],
56           ccOptions = [],
57           cxxOptions = [],
58           ldOptions = [],
59           hsc2hsOptions = [],
60           pkgconfigDepends = [],
61           frameworks = [],
62           extraFrameworkDirs = [],
63           asmSources = [],
64           cmmSources = [],
65           cSources = [],
66           cxxSources = [],
67           jsSources = [],
68           hsSourceDirs = [],
69           otherModules = [],
70           virtualModules = [],
71           autogenModules = [],
72           defaultLanguage = Just
73             Haskell2010,
74           otherLanguages = [],
75           defaultExtensions = [],
76           otherExtensions = [],
77           oldExtensions = [],
78           extraLibs = [],
79           extraLibsStatic = [],
80           extraGHCiLibs = [],
81           extraBundledLibs = [],
82           extraLibFlavours = [],
83           extraDynLibFlavours = [],
84           extraLibDirs = [],
85           extraLibDirsStatic = [],
86           includeDirs = [],
87           includes = [],
88           autogenIncludes = [],
89           installIncludes = [],
90           options = PerCompilerFlavor
91             []
92             [],
93           profOptions = PerCompilerFlavor
94             []
95             [],
96           sharedOptions =
97           PerCompilerFlavor [] [],
98           profSharedOptions =
99           PerCompilerFlavor [] [],
100           staticOptions =
101           PerCompilerFlavor [] [],
102           customFieldsBI = [],
103           targetBuildDepends = [
104             Dependency
105               (PackageName "base")
106               (OrLaterVersion (mkVersion [0]))
107               mainLibSet,
108             Dependency
109               (PackageName "issue")
110               (OrLaterVersion (mkVersion [0]))
111               (NonEmptySet.fromNonEmpty
112                 (NE.fromList
113                   [
114                     LSubLibName
115                       (UnqualComponentName
116                         "sublib")]))],
117           mixins = []}},
118       condTreeConstraints = [
119         Dependency
120           (PackageName "base")
121           (OrLaterVersion (mkVersion [0]))
122           mainLibSet,
123         Dependency
124           (PackageName "issue")
125           (OrLaterVersion (mkVersion [0]))
126           (NonEmptySet.fromNonEmpty
127             (NE.fromList
128               [
129                 LSubLibName
130                   (UnqualComponentName
131                     "sublib")]))],
132       condTreeComponents = []},
133   condSubLibraries = [
134     _×_
135       (UnqualComponentName "sublib")
136       CondNode {
137         condTreeData = Library {
138           libName = LSubLibName
139             (UnqualComponentName "sublib"),
140           exposedModules = [],
141           reexportedModules = [],
142           signatures = [],
143           libExposed = True,
144           libVisibility =
145           LibraryVisibilityPrivate,
146           libBuildInfo = BuildInfo {
147             buildable = True,
148             buildTools = [],
149             buildToolDepends = [],
150             cppOptions = [],
151             asmOptions = [],
152             cmmOptions = [],
153             ccOptions = [],
154             cxxOptions = [],
155             ldOptions = [],
156             hsc2hsOptions = [],
157             pkgconfigDepends = [],
158             frameworks = [],
159             extraFrameworkDirs = [],
160             asmSources = [],
161             cmmSources = [],
162             cSources = [],
163             cxxSources = [],
164             jsSources = [],
165             hsSourceDirs = [],
166             otherModules = [],
167             virtualModules = [],
168             autogenModules = [],
169             defaultLanguage = Just
170               Haskell2010,
171             otherLanguages = [],
172             defaultExtensions = [],
173             otherExtensions = [],
174             oldExtensions = [],
175             extraLibs = [],
176             extraLibsStatic = [],
177             extraGHCiLibs = [],
178             extraBundledLibs = [],
179             extraLibFlavours = [],
180             extraDynLibFlavours = [],
181             extraLibDirs = [],
182             extraLibDirsStatic = [],
183             includeDirs = [],
184             includes = [],
185             autogenIncludes = [],
186             installIncludes = [],
187             options = PerCompilerFlavor
188               []
189               [],
190             profOptions = PerCompilerFlavor
191               []
192               [],
193             sharedOptions =
194             PerCompilerFlavor [] [],
195             profSharedOptions =
196             PerCompilerFlavor [] [],
197             staticOptions =
198             PerCompilerFlavor [] [],
199             customFieldsBI = [],
200             targetBuildDepends = [],
201             mixins = []}},
202         condTreeConstraints = [],
203         condTreeComponents = []}],
204   condForeignLibs = [],
205   condExecutables = [
206     _×_
207       (UnqualComponentName "demo-a")
208       CondNode {
209         condTreeData = Executable {
210           exeName = UnqualComponentName
211             "demo-a",
212           modulePath = SymbolicPath
213             "Main.hs",
214           exeScope = ExecutablePublic,
215           buildInfo = BuildInfo {
216             buildable = True,
217             buildTools = [],
218             buildToolDepends = [],
219             cppOptions = [],
220             asmOptions = [],
221             cmmOptions = [],
222             ccOptions = [],
223             cxxOptions = [],
224             ldOptions = [],
225             hsc2hsOptions = [],
226             pkgconfigDepends = [],
227             frameworks = [],
228             extraFrameworkDirs = [],
229             asmSources = [],
230             cmmSources = [],
231             cSources = [],
232             cxxSources = [],
233             jsSources = [],
234             hsSourceDirs = [],
235             otherModules = [],
236             virtualModules = [],
237             autogenModules = [],
238             defaultLanguage = Nothing,
239             otherLanguages = [],
240             defaultExtensions = [],
241             otherExtensions = [],
242             oldExtensions = [],
243             extraLibs = [],
244             extraLibsStatic = [],
245             extraGHCiLibs = [],
246             extraBundledLibs = [],
247             extraLibFlavours = [],
248             extraDynLibFlavours = [],
249             extraLibDirs = [],
250             extraLibDirsStatic = [],
251             includeDirs = [],
252             includes = [],
253             autogenIncludes = [],
254             installIncludes = [],
255             options = PerCompilerFlavor
256               []
257               [],
258             profOptions = PerCompilerFlavor
259               []
260               [],
261             sharedOptions =
262             PerCompilerFlavor [] [],
263             profSharedOptions =
264             PerCompilerFlavor [] [],
265             staticOptions =
266             PerCompilerFlavor [] [],
267             customFieldsBI = [],
268             targetBuildDepends = [
269               Dependency
270                 (PackageName "issue")
271                 (OrLaterVersion (mkVersion [0]))
272                 mainLibSet,
273               Dependency
274                 (PackageName "issue")
275                 (OrLaterVersion (mkVersion [0]))
276                 (NonEmptySet.fromNonEmpty
277                   (NE.fromList
278                     [
279                       LSubLibName
280                         (UnqualComponentName
281                           "sublib")]))],
282             mixins = []}},
283         condTreeConstraints = [
284           Dependency
285             (PackageName "issue")
286             (OrLaterVersion (mkVersion [0]))
287             mainLibSet,
288           Dependency
289             (PackageName "issue")
290             (OrLaterVersion (mkVersion [0]))
291             (NonEmptySet.fromNonEmpty
292               (NE.fromList
293                 [
294                   LSubLibName
295                     (UnqualComponentName
296                       "sublib")]))],
297         condTreeComponents = []},
298     _×_
299       (UnqualComponentName "demo-b")
300       CondNode {
301         condTreeData = Executable {
302           exeName = UnqualComponentName
303             "demo-b",
304           modulePath = SymbolicPath
305             "Main.hs",
306           exeScope = ExecutablePublic,
307           buildInfo = BuildInfo {
308             buildable = True,
309             buildTools = [],
310             buildToolDepends = [],
311             cppOptions = [],
312             asmOptions = [],
313             cmmOptions = [],
314             ccOptions = [],
315             cxxOptions = [],
316             ldOptions = [],
317             hsc2hsOptions = [],
318             pkgconfigDepends = [],
319             frameworks = [],
320             extraFrameworkDirs = [],
321             asmSources = [],
322             cmmSources = [],
323             cSources = [],
324             cxxSources = [],
325             jsSources = [],
326             hsSourceDirs = [],
327             otherModules = [],
328             virtualModules = [],
329             autogenModules = [],
330             defaultLanguage = Nothing,
331             otherLanguages = [],
332             defaultExtensions = [],
333             otherExtensions = [],
334             oldExtensions = [],
335             extraLibs = [],
336             extraLibsStatic = [],
337             extraGHCiLibs = [],
338             extraBundledLibs = [],
339             extraLibFlavours = [],
340             extraDynLibFlavours = [],
341             extraLibDirs = [],
342             extraLibDirsStatic = [],
343             includeDirs = [],
344             includes = [],
345             autogenIncludes = [],
346             installIncludes = [],
347             options = PerCompilerFlavor
348               []
349               [],
350             profOptions = PerCompilerFlavor
351               []
352               [],
353             sharedOptions =
354             PerCompilerFlavor [] [],
355             profSharedOptions =
356             PerCompilerFlavor [] [],
357             staticOptions =
358             PerCompilerFlavor [] [],
359             customFieldsBI = [],
360             targetBuildDepends = [
361               Dependency
362                 (PackageName "issue")
363                 (OrLaterVersion (mkVersion [0]))
364                 mainLibSet,
365               Dependency
366                 (PackageName "issue")
367                 (OrLaterVersion (mkVersion [0]))
368                 (NonEmptySet.fromNonEmpty
369                   (NE.fromList
370                     [
371                       LSubLibName
372                         (UnqualComponentName
373                           "sublib")]))],
374             mixins = []}},
375         condTreeConstraints = [
376           Dependency
377             (PackageName "issue")
378             (OrLaterVersion (mkVersion [0]))
379             mainLibSet,
380           Dependency
381             (PackageName "issue")
382             (OrLaterVersion (mkVersion [0]))
383             (NonEmptySet.fromNonEmpty
384               (NE.fromList
385                 [
386                   LSubLibName
387                     (UnqualComponentName
388                       "sublib")]))],
389         condTreeComponents = []}],
390   condTestSuites = [],
391   condBenchmarks = []}