Skip to content

Commit 09c59f3

Browse files
committed
1 parent 83a6942 commit 09c59f3

File tree

6 files changed

+10
-7
lines changed

6 files changed

+10
-7
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,5 @@ jobs:
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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

git-brunch.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

package.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

stack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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.

stack.yaml.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
packages: []
77
snapshots:
88
- 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

0 commit comments

Comments
 (0)