summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--readme.md19
-rw-r--r--stack.yaml6
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
+