-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathpackage.yaml
More file actions
31 lines (28 loc) · 799 Bytes
/
package.yaml
File metadata and controls
31 lines (28 loc) · 799 Bytes
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
name: alpine-haskell
version: 0.1.0.0
homepage: https://github.com/githubuser/alpine-haskell#readme
license: BSD3
author: Author name here
maintainer: example@example.com
copyright: 2019 Author name here
category: Web
extra-source-files:
- README.md
dependencies:
- base >= 4.7 && < 5
flags:
static:
description: Statically link executables.
manual: true
default: false
executables:
demo:
source-dirs: executables
main: Main.hs
when:
- condition: flag(static)
then:
ld-options: -static
ghc-options: "-rtsopts -threaded -optc-Os -optl=-pthread -optl=-static -fPIC"
else:
ghc-options: "-rtsopts -threaded"