# What's the current best-in-class approach to packaging Elixir/Erlang/BEAM applications using Nix+releases as of July 2020?

**URL:** https://discourse.nixos.org/t/whats-the-current-best-in-class-approach-to-packaging-elixir-erlang-beam-applications-using-nix-releases-as-of-july-2020/8205
**Category:** Help
**Created:** [July 18, 2020, 9:02pm UTC](https://discourse.nixos.org/t/whats-the-current-best-in-class-approach-to-packaging-elixir-erlang-beam-applications-using-nix-releases-as-of-july-2020/8205 "2020-07-18T21:02:53Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![toraritte](https://discourse.nixos.org/user_avatar/discourse.nixos.org/toraritte/32/6777_2.png) [@toraritte](https://discourse.nixos.org/u/toraritte)
#### Post date: [November 7, 2021, 11:43am UTC](https://discourse.nixos.org/t/whats-the-current-best-in-class-approach-to-packaging-elixir-erlang-beam-applications-using-nix-releases-as-of-july-2020/8205/11 "2021-11-07T11:43:08Z")

</div>

> [@hauleth](#):
>
> As `mix deps.get` should provide (almost) constant output I have created the derivation that fetches all dependencies via `mix dips.get` :

Just to connect the dots:

- **hauleth** has since then packaged this solution in the [nix-elixir](https://github.com/hauleth/nix-elixir) repo (see [announcement](https://github.com/NixOS/nixpkgs/pull/97245#issuecomment-697279661) and subsequent PR comment)

- [nix-elixir](https://github.com/hauleth/nix-elixir) mentioned and briefly discussed in [State of the BEAM Ecosystem in Nix](https://discourse.nixos.org/t/state-of-the-beam-ecosystem-in-nix/4202/) (from [post 15](https://discourse.nixos.org/t/state-of-the-beam-ecosystem-in-nix/4202/15) and down)

- **happysalada** ’s [RFC fixing build-mix #105002](https://github.com/NixOS/nixpkgs/issues/105002) issue (and their subsequent PRs) also mention [nix-elixir](https://github.com/hauleth/nix-elixir), and intentions to bring it into Nixpkgs

- See also [Nix-elixir and dependencies with port compilation?](https://discourse.nixos.org/t/nix-elixir-and-dependencies-with-port-compilation/11208/) by **rrix**

---

_[View the full topic](https://discourse.nixos.org/t/whats-the-current-best-in-class-approach-to-packaging-elixir-erlang-beam-applications-using-nix-releases-as-of-july-2020/8205)._
