How to build an xmobar config from from a haskell source file?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/NixOS

Our great sponsors
  • SonarQube - Static code analysis for 29 languages.
  • InfluxDB - Access the most powerful time series database as a service
  • SaaSHub - Software Alternatives and Reviews
  • xmobar

    A minimalistic status bar

    The ah-xmobar built by NixOS doesn't display. I'm now reasonably convinced that the xmobar library provided by nixpkgs was not compiled with the necessary flags to support my config. Reason being that: - Compiled ah-xmobar using NixOS pre-compiled xmobar library doesn't work with xmobar's example hs config. - Compiled ah-xmobar using NixOS pre-compiled xmobar library works with a config that uses commands = [] and template = "%uname%". - Compiled ah-xmobar using custom compiled xmobar library with the +all_extensions flag works for any configuration.

  • xmobar-luca

    My custom build of xmobar

    You need to add a cabal.project file. You can see an example in my repository: https://github.com/Quoteme/xmobar-luca/blob/master/cabal.project

  • SonarQube

    Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.

  • furnisher

    Furnish a new $HOME

    I've been trying to setup xmobar for a day with no luck so far. Would you mind taking a look at this cabal project setup in my dotfiles? The executable is called ah-xmobar. I'm also installing the regular xmobar from nixpkgs so I can run it for reference here. Running xmobar on the cmdline works. Running ah-xmobar doesn't. There are no errors, it simply doesn't display anything. Also, it doesn't take args. E.g. ah-xmobar -h just hangs. Any ideas? Thanks :)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts