Add migration guide for #9718 (#10578)
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / issue-5846.expr
blob0d031503a53eb23fc2ad94775d19228fa6a52286
1 GenericPackageDescription {
2   packageDescription =
3   PackageDescription {
4     specVersion = CabalSpecV3_0,
5     package = PackageIdentifier {
6       pkgName = PackageName "issue",
7       pkgVersion = mkVersion [5846]},
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 "lib1")
106               (OrLaterVersion (mkVersion [0]))
107               (NonEmptySet.fromNonEmpty
108                 (NE.fromList
109                   [
110                     LSubLibName
111                       (UnqualComponentName "a"),
112                     LSubLibName
113                       (UnqualComponentName "b")])),
114             Dependency
115               (PackageName "lib2")
116               (OrLaterVersion (mkVersion [0]))
117               (NonEmptySet.fromNonEmpty
118                 (NE.fromList
119                   [
120                     LSubLibName
121                       (UnqualComponentName "c")])),
122             Dependency
123               (PackageName "lib3")
124               (OrLaterVersion (mkVersion [1]))
125               (NonEmptySet.fromNonEmpty
126                 (NE.fromList
127                   [
128                     LSubLibName
129                       (UnqualComponentName "d")])),
130             Dependency
131               (PackageName "lib4")
132               (OrLaterVersion (mkVersion [1]))
133               (NonEmptySet.fromNonEmpty
134                 (NE.fromList
135                   [
136                     LSubLibName
137                       (UnqualComponentName "a"),
138                     LSubLibName
139                       (UnqualComponentName "b")]))],
140           mixins = []}},
141       condTreeConstraints = [
142         Dependency
143           (PackageName "lib1")
144           (OrLaterVersion (mkVersion [0]))
145           (NonEmptySet.fromNonEmpty
146             (NE.fromList
147               [
148                 LSubLibName
149                   (UnqualComponentName "a"),
150                 LSubLibName
151                   (UnqualComponentName "b")])),
152         Dependency
153           (PackageName "lib2")
154           (OrLaterVersion (mkVersion [0]))
155           (NonEmptySet.fromNonEmpty
156             (NE.fromList
157               [
158                 LSubLibName
159                   (UnqualComponentName "c")])),
160         Dependency
161           (PackageName "lib3")
162           (OrLaterVersion (mkVersion [1]))
163           (NonEmptySet.fromNonEmpty
164             (NE.fromList
165               [
166                 LSubLibName
167                   (UnqualComponentName "d")])),
168         Dependency
169           (PackageName "lib4")
170           (OrLaterVersion (mkVersion [1]))
171           (NonEmptySet.fromNonEmpty
172             (NE.fromList
173               [
174                 LSubLibName
175                   (UnqualComponentName "a"),
176                 LSubLibName
177                   (UnqualComponentName "b")]))],
178       condTreeComponents = []},
179   condSubLibraries = [],
180   condForeignLibs = [],
181   condExecutables = [],
182   condTestSuites = [],
183   condBenchmarks = []}