summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2018-02-01 05:25:41 +0100
committerjao <jao@gnu.org>2018-02-01 05:28:31 +0100
commit453d31ff13919e7272514a4d6b7c2689204d409e (patch)
treef5ed7f978dd4b7655faf942023eb1a6aa10845e4
parent2b09af2d3ea2bbc623306899924b005551688b0a (diff)
downloadxmobar-453d31ff13919e7272514a4d6b7c2689204d409e.tar.gz
xmobar-453d31ff13919e7272514a4d6b7c2689204d409e.tar.bz2
`stack build --flag xmobar:all_extensions` working
-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
+