From 453d31ff13919e7272514a4d6b7c2689204d409e Mon Sep 17 00:00:00 2001 From: jao Date: Thu, 1 Feb 2018 05:25:41 +0100 Subject: `stack build --flag xmobar:all_extensions` working --- readme.md | 19 +++---------------- stack.yaml | 6 ++++-- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/readme.md b/readme.md index b29d4fa..4fe4252 100644 --- a/readme.md +++ b/readme.md @@ -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 diff --git a/stack.yaml b/stack.yaml index 4fb7717..80ea090 100644 --- a/stack.yaml +++ b/stack.yaml @@ -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 + -- cgit v1.2.3