summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorClaudio Bley <claudio.bley@gmail.com>2019-03-01 13:35:00 +0100
committerClaudio Bley <claudio.bley@gmail.com>2019-03-01 13:35:02 +0100
commit8b0eef393a624e664923bf7d64efe9f15af5edd6 (patch)
tree349dc49412fe1a10295ce150ff79c25fda74981f
parent2cf781e32f5f09030de0579d942d2f429d3a3374 (diff)
downloadxmobar-8b0eef393a624e664923bf7d64efe9f15af5edd6.tar.gz
xmobar-8b0eef393a624e664923bf7d64efe9f15af5edd6.tar.bz2
Add `nix` section to stack.yaml
When building xmobar on NixOS (where stack's Nix integration is enabled by default), this ensures that all required system libraries are available inside the local build environment. See https://docs.haskellstack.org/en/stable/nix_integration/ for details.
-rw-r--r--stack.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/stack.yaml b/stack.yaml
index d9e8211..b0d60c4 100644
--- a/stack.yaml
+++ b/stack.yaml
@@ -18,3 +18,16 @@ extra-deps:
# - parsec-numbers-0.1.0
# - libmpd-0.9.0.9
# - alsa-mixer-0.3.0
+
+nix:
+ packages:
+ - alsaLib
+ - pkgconfig
+ - wirelesstools
+ - xorg.libX11
+ - xorg.libXext
+ - xorg.libXft
+ - xorg.libXpm
+ - xorg.libXrandr
+ - xorg.libXScrnSaver
+ - zlib