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 /r/NixOS

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • xmobar

    Discontinued 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

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • furnisher

    Discontinued 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