Document NixOS support

Yabar is available in NixOS since 2016 (see 093c42161f (diff-f66c765a8c3d400246d177ff137b880f))
This commit is contained in:
Maximilian Bosch 2018-01-02 12:00:21 +01:00
parent d9f75933f1
commit 993f1b5a7b
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -48,6 +48,16 @@ Yabar is available in the official repositories since Debian Stretch (9.0):
[yabar](http://packages.ubuntu.com/search?keywords=yabar&searchon=names&suite=all&section=all) in [Yakkety Yak](http://packages.ubuntu.com/yakkety/yabar)
#### NixOS / Nix
[yabar](https://nixos.org/nixos/packages.html#yabar) is available in the official `nixpkgs` package set and can be installed easily:
```sh
nix-env -iA nixos.yabar
```
Since NixOS 18.03 (Impala) there's a [yabar-unstable](https://github.com/NixOS/nixpkgs/blob/master/pkgs/applications/window-managers/yabar/unstable.nix) package which is built from the latest master.
### From Source
Yabar initially requires a C compiler (e.g. gcc or clang), make as well as the libraries libconfig, cairo, pango and alsa. The feature `DYA_INTERNAL_EWMH` in `Makefile` additionaly xcb-ewmh (or xcb-util-wm in some distros) and the feature `-DYA_ICON` requires gdk-pixbuf2. These dependencies can be installed through your distribution's package manager: