-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.dhall
184 lines (171 loc) · 7.26 KB
/
package.dhall
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{- NOTES:
* internal libraries need to be made public otherwise:
cabal test plugins-for-blobs:uom-quantity-doctest --test-show-details=always
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: plugins-for-blobs-0.1.0 (user goal)
[__1] trying: uom-quantity-0.3.0.1 (user goal)
[__2] rejecting: uom-quantity:*test (requires library 'uom-quantity' from
plugins-for-blobs, but the component is private)
[__2] rejecting: uom-quantity:!test (constraint from config file, command line
flag, or user target requires opposite flag selection)
[__2] fail (backjumping, conflict set: plugins-for-blobs, uom-quantity,
uom-quantity:test)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: uom-quantity, uom-quantity:test,
plugins-for-blobs
-}
let defs = ./thoralf-uom/defaults-blobs.dhall ".hie"
let uom-quantity =
./uom/quantity/package-relative.dhall "uom/quantity/" "plugins-for-blobs:"
let uom-th = ./uom/th/package-relative.dhall "uom/th/" "plugins-for-blobs:"
let thoralf-theory =
./thoralf/theory/package-relative.dhall
"thoralf/theory/"
"plugins-for-blobs:"
let thoralf-encode =
./thoralf/encode/package-relative.dhall
"thoralf/encode/"
"plugins-for-blobs:"
let thoralf-plugin =
./thoralf/plugin/package-relative.dhall
"thoralf/plugin/"
"plugins-for-blobs:"
let thoralf-plugin-rows =
./thoralf/plugin-rows/package-relative.dhall
"thoralf/plugin-rows/"
"plugins-for-blobs:"
let thoralf-plugin-uom =
./thoralf-uom/plugin/package-relative.dhall
".hie"
"thoralf-uom/plugin/"
"plugins-for-blobs:"
"plugins-for-blobs:"
"plugins-for-blobs:"
let thoralf-plugin-defs =
./thoralf-uom/defs/package-relative.dhall
".hie"
"thoralf-uom/defs/"
"plugins-for-blobs:"
"plugins-for-blobs:"
"plugins-for-blobs:"
let uom-plugin =
./uom/plugin/package-relative.dhall "uom/plugin/" "plugins-for-blobs:"
let uom-plugin-defs =
./uom/defs/package-relative.dhall "uom/defs/" "plugins-for-blobs:"
let uom-plugin-examples =
./uom/examples/package-relative.dhall "uom/examples/" "plugins-for-blobs:"
let uom-plugin-tutorial =
./uom/tutorial/package-relative.dhall "uom/tutorial/" "plugins-for-blobs:"
in defs
// { name = "plugins-for-blobs"
, internal-libraries =
{ uom-quantity =
uom-quantity.library
// { visibility = "public", when = uom-quantity.when }
, uom-th = uom-th.library // { visibility = "public" }
, thoralf-theory =
thoralf-theory.library
// { visibility = "public"
, dependencies = thoralf-theory.dependencies
}
, thoralf-encode =
thoralf-encode.library
// { visibility = "public"
, dependencies = thoralf-encode.dependencies
}
, thoralf-plugin =
thoralf-plugin.library
// { visibility = "public"
, dependencies = thoralf-plugin.dependencies
}
, thoralf-plugin-rows =
thoralf-plugin-rows.library
// { visibility = "public"
, ghc-options = thoralf-plugin-rows.ghc-options
, dependencies = thoralf-plugin-rows.dependencies
}
, thoralf-plugin-uom =
thoralf-plugin-uom.library
// { visibility = "public"
, dependencies = thoralf-plugin-uom.dependencies
}
, thoralf-plugin-defs =
thoralf-plugin-defs.library // { visibility = "public" }
, uom-plugin = uom-plugin.library // { visibility = "public" }
, uom-plugin-defs =
uom-plugin-defs.library // { visibility = "public" }
}
, executables = uom-plugin-examples.executables
, tests =
{ uom-quantity-doctest = uom-quantity.tests.doctest
, thoralf-rows =
thoralf-plugin-rows.tests.rows
// { dependencies =
thoralf-plugin-rows.dependencies
# thoralf-plugin-rows.tests.rows.dependencies
, ghc-options =
thoralf-plugin-rows.ghc-options
# thoralf-plugin-rows.tests.rows.ghc-options
}
, thoralf-uom-diy =
thoralf-plugin-uom.tests.uom-diy
// { dependencies =
thoralf-plugin-uom.dependencies
# thoralf-plugin-uom.tests.uom-diy.dependencies
, ghc-options =
thoralf-plugin-uom.ghc-options
# thoralf-plugin-uom.tests.uom-diy.ghc-options
}
, thoralf-uom-quantity =
thoralf-plugin-uom.tests.uom-quantity
// { dependencies =
thoralf-plugin-uom.dependencies
# thoralf-plugin-uom.tests.uom-quantity.dependencies
, ghc-options =
thoralf-plugin-uom.ghc-options
# thoralf-plugin-uom.tests.uom-quantity.ghc-options
}
, thoralf-defs =
thoralf-plugin-uom.tests.defs
// { dependencies =
thoralf-plugin-uom.dependencies
# thoralf-plugin-uom.tests.defs.dependencies
, ghc-options =
thoralf-plugin-uom.ghc-options
# thoralf-plugin-uom.tests.defs.ghc-options
}
, thoralf-force =
thoralf-plugin-uom.tests.force
// { dependencies =
thoralf-plugin-uom.dependencies
# thoralf-plugin-uom.tests.force.dependencies
, ghc-options =
thoralf-plugin-uom.ghc-options
# thoralf-plugin-uom.tests.force.ghc-options
}
, thoralf-delay-eq =
thoralf-plugin-uom.tests.delay-eq
// { dependencies =
thoralf-plugin-uom.dependencies
# thoralf-plugin-uom.tests.delay-eq.dependencies
, ghc-options =
thoralf-plugin-uom.ghc-options
# thoralf-plugin-uom.tests.delay-eq.ghc-options
}
, thoralf-units =
thoralf-plugin-uom.tests.units
// { dependencies =
thoralf-plugin-uom.dependencies
# thoralf-plugin-uom.tests.units.dependencies
, ghc-options =
thoralf-plugin-uom.ghc-options
# thoralf-plugin-uom.tests.units.ghc-options
}
, uom-defs = uom-plugin.tests.defs
, uom-units = uom-plugin.tests.units
, uom-unpack-solve = uom-plugin.tests.unpack-solve
, uom-force = uom-plugin.tests.force
, uom-tutorial-doctest = uom-plugin-tutorial.tests.doctest
}
}