Merge pull request #10599 from cabalism/typo/depency
[cabal.git] / Cabal-tests / tests / ParserTests / regressions / hidden-main-lib.expr
blob3e67f519199f96fbd7350be28e47d391548d6567
1 GenericPackageDescription {
2   packageDescription =
3   PackageDescription {
4     specVersion = CabalSpecV3_0,
5     package = PackageIdentifier {
6       pkgName = PackageName
7         "hidden-main-lib",
8       pkgVersion = mkVersion [0]},
9     licenseRaw = Left NONE,
10     licenseFiles = [],
11     copyright = "",
12     maintainer = "",
13     author = "",
14     stability = "",
15     testedWith = [],
16     homepage = "",
17     pkgUrl = "",
18     bugReports = "",
19     sourceRepos = [],
20     synopsis =
21     "main lib have to be visible",
22     description = "",
23     category = "",
24     customFieldsPD = [],
25     buildTypeRaw = Just Simple,
26     setupBuildInfo = Nothing,
27     library = Nothing,
28     subLibraries = [],
29     executables = [],
30     foreignLibs = [],
31     testSuites = [],
32     benchmarks = [],
33     dataFiles = [],
34     dataDir = SymbolicPath ".",
35     extraSrcFiles = [],
36     extraTmpFiles = [],
37     extraDocFiles = [],
38     extraFiles = []},
39   gpdScannedVersion = Nothing,
40   genPackageFlags = [],
41   condLibrary = Just
42     CondNode {
43       condTreeData = Library {
44         libName = LMainLibName,
45         exposedModules = [
46           ModuleName "ElseIf"],
47         reexportedModules = [],
48         signatures = [],
49         libExposed = True,
50         libVisibility =
51         LibraryVisibilityPublic,
52         libBuildInfo = BuildInfo {
53           buildable = True,
54           buildTools = [],
55           buildToolDepends = [],
56           cppOptions = [],
57           asmOptions = [],
58           cmmOptions = [],
59           ccOptions = [],
60           cxxOptions = [],
61           ldOptions = [],
62           hsc2hsOptions = [],
63           pkgconfigDepends = [],
64           frameworks = [],
65           extraFrameworkDirs = [],
66           asmSources = [],
67           cmmSources = [],
68           cSources = [],
69           cxxSources = [],
70           jsSources = [],
71           hsSourceDirs = [],
72           otherModules = [],
73           virtualModules = [],
74           autogenModules = [],
75           defaultLanguage = Just
76             Haskell2010,
77           otherLanguages = [],
78           defaultExtensions = [],
79           otherExtensions = [],
80           oldExtensions = [],
81           extraLibs = [],
82           extraLibsStatic = [],
83           extraGHCiLibs = [],
84           extraBundledLibs = [],
85           extraLibFlavours = [],
86           extraDynLibFlavours = [],
87           extraLibDirs = [],
88           extraLibDirsStatic = [],
89           includeDirs = [],
90           includes = [],
91           autogenIncludes = [],
92           installIncludes = [],
93           options = PerCompilerFlavor
94             []
95             [],
96           profOptions = PerCompilerFlavor
97             []
98             [],
99           sharedOptions =
100           PerCompilerFlavor [] [],
101           profSharedOptions =
102           PerCompilerFlavor [] [],
103           staticOptions =
104           PerCompilerFlavor [] [],
105           customFieldsBI = [],
106           targetBuildDepends = [
107             Dependency
108               (PackageName "base")
109               (OrLaterVersion (mkVersion [0]))
110               mainLibSet],
111           mixins = []}},
112       condTreeConstraints = [
113         Dependency
114           (PackageName "base")
115           (OrLaterVersion (mkVersion [0]))
116           mainLibSet],
117       condTreeComponents = []},
118   condSubLibraries = [],
119   condForeignLibs = [],
120   condExecutables = [],
121   condTestSuites = [],
122   condBenchmarks = []}