-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConfig.dhall
53 lines (47 loc) · 1.49 KB
/
Config.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
let pkg = constructors ./cfg/Stack/Pkg
in let stackDefaults = ./cfg/Stack/ConfigDefaults
in let localYiDeps =
[ "yi-core"
, "yi-frontend-vty"
, "yi-keymap-vim"
, "yi-language"
, "yi-misc-modes"
, "yi-mode-haskell"
]
in let deps =
[ "base >= 4.8 && < 5"
, "microlens-platform"
, "mtl"
, "yi-rope"
, "array"
]
# localYiDeps
in let stackYaml =
{ extra-deps = [ "yi-rope-0.10" ]
, packages =
[ pkg.simple "."
, pkg.complex { location = "../yi/", subdirs = localYiDeps }
]
, resolver = "lts-8.18"
}
in let packageYaml =
{ category = "Yi"
, dependencies = deps
, executables =
{ e =
{ build-tools = [ "alex >= 3.0.3 && < 3.2.0 || >= 3.2.1" ]
, include-dirs = "src"
, main = "Main.hs"
, other-modules = "Texture"
, source-dirs = "src"
}
}
, ghc-options = "-Wall -ferror-spans -threaded"
, license = "AGPL-3"
, maintainer = "Benjamin Travis Summers <[email protected]>"
, name = "e"
, version = "0.14.0"
}
in { package = packageYaml
, stack = stackDefaults ⫽ stackYaml : ./cfg/Stack/Config
}