File tree Expand file tree Collapse file tree 6 files changed +10
-7
lines changed
Expand file tree Collapse file tree 6 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 3030 run : stack test
3131 - name : Run with --version
3232 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
6565` git-brunch ` can installed with the Haskell build tool stack
6666
6767``` sh
68- stack install git-brunch # --resolver=lts-17.4
68+ stack install git-brunch # --resolver=lts-17.11
6969```
7070
7171### Install from source
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ executable git-brunch
5050 , vector
5151 , vty
5252 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
5454 cc-options : -static
5555 ld-options : -static -pthread
5656 else
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ executables:
4949 - -with-rtsopts=-N
5050 - -Wall
5151 - -O2
52+ - -optl-fuse-ld=bfd
5253 else :
5354 ghc-options :
5455 - -threaded
Original file line number Diff line number Diff line change 1717#
1818# resolver: ./custom-snapshot.yaml
1919# resolver: https://example.com/snapshots/2018-01-01.yaml
20- resolver : lts-17.4
20+ resolver : lts-17.11
2121
2222# User packages to be built.
2323# Various formats can be used as shown in the example below.
Original file line number Diff line number Diff line change 66packages: []
77snapshots:
88- completed:
9- size: 563103
10- url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/lts/17/4 .yaml
11- sha256: f11e2153044f5f71ea7b1c9398f4721f517c9bd37642ed769647b896564021f3
12- original: lts-17.4
9+ size: 567672
10+ url: https://raw.githubusercontent.com/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