Skip to content

Commit 453d31f

Browse files
committed
stack build --flag xmobar:all_extensions working
1 parent 2b09af2 commit 453d31f

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

readme.md

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,23 +69,10 @@ source tree:
6969
cabal install -fall_extensions
7070

7171

72-
Otherwise, run the configure script:
72+
There is also a barebones `stack.yaml` file that will allow you to
73+
build the xmobar executable with stances of the form:
7374

74-
runhaskell Setup.lhs configure
75-
76-
# To enable UTF-8 support run:
77-
runhaskell Setup.lhs configure --flags="with_utf8"
78-
79-
# To enable both XFT and UTF-8 support run:
80-
runhaskell Setup.lhs configure --flags="with_xft"
81-
82-
# To enable all extensions
83-
runhaskell Setup.lhs configure --flags="all_extensions"
84-
85-
Now you can build the source:
86-
87-
runhaskell Setup.lhs build
88-
runhaskell Setup.lhs install # possibly to be run as root
75+
stack build --flag xmobar:all_extensions
8976

9077

9178
## Optional features

stack.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
resolver: lts-10.3
2+
allow-newer: true
23
packages:
34
- .
45
# Dependency packages to be pulled from upstream that are not in the resolver
56
# (e.g., acme-missiles-0.3)
6-
# extra-deps: []
7+
extra-deps: [iwlib-0.1.0]
78

89
# Override default flag values for local packages and extra-deps
910
# flags: {}
1011

1112
# Control whether we use the GHC we find on the path
12-
system-ghc: true
13+
# system-ghc: true
14+

0 commit comments

Comments
 (0)