From 8b0eef393a624e664923bf7d64efe9f15af5edd6 Mon Sep 17 00:00:00 2001 From: Claudio Bley Date: Fri, 1 Mar 2019 13:35:00 +0100 Subject: 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. --- stack.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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 -- cgit v1.2.3