diff options
author | jao <jao@gnu.org> | 2018-02-01 05:25:41 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2018-02-01 05:28:31 +0100 |
commit | 453d31ff13919e7272514a4d6b7c2689204d409e (patch) | |
tree | f5ed7f978dd4b7655faf942023eb1a6aa10845e4 | |
parent | 2b09af2d3ea2bbc623306899924b005551688b0a (diff) | |
download | xmobar-453d31ff13919e7272514a4d6b7c2689204d409e.tar.gz xmobar-453d31ff13919e7272514a4d6b7c2689204d409e.tar.bz2 |
`stack build --flag xmobar:all_extensions` working
-rw-r--r-- | readme.md | 19 | ||||
-rw-r--r-- | stack.yaml | 6 |
2 files changed, 7 insertions, 18 deletions
@@ -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 packages: - . # 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 + |