# How to install Erlang with Observer?

**URL:** https://discourse.nixos.org/t/how-to-install-erlang-with-observer/5028
**Category:** Help
**Created:** [December 5, 2019, 4:53pm UTC](https://discourse.nixos.org/t/how-to-install-erlang-with-observer/5028 "2019-12-05T16:53:10Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![shanesveller](https://discourse.nixos.org/user_avatar/discourse.nixos.org/shanesveller/32/11756_2.png) [@shanesveller](https://discourse.nixos.org/u/shanesveller)
#### Post date: [December 5, 2019, 7:33pm UTC](https://discourse.nixos.org/t/how-to-install-erlang-with-observer/5028/2 "2019-12-05T19:33:30Z")

</div>

On OSX I also need `wxmac`, and I believe for Linux you want one of the wxGTK packages:

> <https://github.com/NixOS/nixpkgs/blob/4de58b617bf52509cdfa7946f46505166f0bc3de/pkgs/development/interpreters/erlang/generic-builder.nix#L33-L35>

> <https://github.com/NixOS/nixpkgs/blob/4de58b617bf52509cdfa7946f46505166f0bc3de/pkgs/development/interpreters/erlang/generic-builder.nix#L21>

These appear to already be expressed in the nixpkgs definitions:

> <https://github.com/NixOS/nixpkgs/blob/076860e0340a5e4a909b9a710e186508b14d1c90/pkgs/top-level/beam-packages.nix#L55-L57>

However, they’re not defined as `propagatedBuildInputs` in the first link, so you have to also name the wx package separately when installing in order to have it available at runtime.

I don’t have ready access to a Nix-enabled desktop Linux host right now to test for myself, but I think that should let you move forward. Good luck!

---

_[View the full topic](https://discourse.nixos.org/t/how-to-install-erlang-with-observer/5028)._
