File tree 6 files changed +10
-7
lines changed 6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 30
30
run : stack test
31
31
- name : Run with --version
32
32
run : stack run -- --version
33
+ - name : Build statically linked
34
+ run : stack build --flag git-brunch:static
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ nix-env -i git-brunch
65
65
` git-brunch ` can installed with the Haskell build tool stack
66
66
67
67
``` sh
68
- stack install git-brunch # --resolver=lts-17.4
68
+ stack install git-brunch # --resolver=lts-17.11
69
69
```
70
70
71
71
### Install from source
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ executable git-brunch
50
50
, vector
51
51
, vty
52
52
if flag(static)
53
- ghc-options : -static -threaded -rtsopts -with-rtsopts=-N -Wall -O2
53
+ ghc-options : -static -threaded -rtsopts -with-rtsopts=-N -Wall -O2 -optl-fuse-ld=bfd
54
54
cc-options : -static
55
55
ld-options : -static -pthread
56
56
else
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ executables:
49
49
- -with-rtsopts=-N
50
50
- -Wall
51
51
- -O2
52
+ - -optl-fuse-ld=bfd
52
53
else :
53
54
ghc-options :
54
55
- -threaded
Original file line number Diff line number Diff line change 17
17
#
18
18
# resolver: ./custom-snapshot.yaml
19
19
# resolver: https://example.com/snapshots/2018-01-01.yaml
20
- resolver : lts-17.4
20
+ resolver : lts-17.11
21
21
22
22
# User packages to be built.
23
23
# Various formats can be used as shown in the example below.
Original file line number Diff line number Diff line change 6
6
packages: []
7
7
snapshots:
8
8
- completed:
9
- size: 563103
10
- url: https://github.com/raw/commercialhaskell/stackage-snapshots/master/lts/17/4 .yaml
11
- sha256: f11e2153044f5f71ea7b1c9398f4721f517c9bd37642ed769647b896564021f3
12
- original: lts-17.4
9
+ size: 567672
10
+ url: https://github.com/raw/commercialhaskell/stackage-snapshots/master/lts/17/11 .yaml
11
+ sha256: 03181cdbeb671eb605bbcf6f285bea4d094b6ac7433a0e14a9f1dd54ad995938
12
+ original: lts-17.11
You can’t perform that action at this time.
0 commit comments