Browse files

`stack build --flag xmobar:all_extensions` working

  • Loading branch information...
jaor committed Feb 1, 2018
1 parent 2b09af2 commit 453d31ff13919e7272514a4d6b7c2689204d409e
Showing with 7 additions and 18 deletions.
  1. +3 −16
  2. +4 −2 stack.yaml
@@ -69,23 +69,10 @@ source tree:
cabal install -fall_extensions
Otherwise, run the configure script:
There is also a barebones `stack.yaml` file that will allow you to
build the xmobar executable with stances of the form:
runhaskell Setup.lhs configure
# To enable UTF-8 support run:
runhaskell Setup.lhs configure --flags="with_utf8"
# To enable both XFT and UTF-8 support run:
runhaskell Setup.lhs configure --flags="with_xft"
# To enable all extensions
runhaskell Setup.lhs configure --flags="all_extensions"
Now you can build the source:
runhaskell Setup.lhs build
runhaskell Setup.lhs install # possibly to be run as root
stack build --flag xmobar:all_extensions
## Optional features
@@ -1,12 +1,14 @@
resolver: lts-10.3
allow-newer: true
- .
# Dependency packages to be pulled from upstream that are not in the resolver
# (e.g., acme-missiles-0.3)
# extra-deps: []
extra-deps: [iwlib-0.1.0]
# Override default flag values for local packages and extra-deps
# flags: {}
# Control whether we use the GHC we find on the path
system-ghc: true
# system-ghc: true

0 comments on commit 453d31f

Please sign in to comment.