Onor.io
I apologize in advance if I am posting this in the wrong place.
I see a nix package for Elixir (in fact I see several). Big kudos to those folks who have taken the time to do this!
I want to create a nix flake for an Elixir app I’m working on and I can create a plain old nix flake but I was wondering if someone has already created a nix flake template for Elixir? Googling hasn’t turned up anything (although I may be using the wrong search terms).
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hi everyone,
I am toying with the idea of building a “match maker” for giving personal help to people that wants to start coding.
I sta...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
I recently noticed that Elixir’s Logger defaults its primary log level to :debug when no :logger, :level application configuration is pre...
New
I’m new to elixir and just tried to install the elixirLS extension for VScode(ium) and it is throwing some errors that I would like help ...
New
Other Trending Topics
Edit: 2026 May 15 - This post is archived.
Mob is alive!!
Main docs: mob v0.7.11 — Documentation
A bit of explanation for the slightly c...
New
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #ai
- #elixirconf-us
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #elixirconf-eu
- #metaprogramming
- #hex










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
zimt28
Onor.io
Thank you! That’s a big help!
shanesveller
I maintain some OSS Nix<->BEAM tooling, which offers flake init templates, support for ingesting asdf
.tool-versionsfiles, reusable dev shells and a few other niceties, based on flake-parts lib. Repo is here and feedback or critiques are welcome. Example usage is also documented here.I’ve been iterating and daily driving it for a couple years at this point, and haven’t had asdf/mise/rtx installed at all in the last 18 months or so.
c4710n
Hey, @Onor.io. Very happy to see that you like Nix.
After the post mentioned by @zimt28, my workflow improved a lot. If you continue to use Nix, I believe you will encounter some issues, like:
All above problems already have solutions, I hope the following links are also useful to you in the future.
Onor.io
Thank you so much for the pointers Shane! I’m sure that will help me to progress with employing Nix with Elixir!
Onor.io
Thank you so much for providing those links!
Onor.io
Hi again Shane,
Just curious–do you ever use your nix stuff in order to build docker images? That’s one of the use cases I definitely wanted to try.
shanesveller
I use it and enjoy doing so for non-BEAM work, it works pretty well for Rust and Golang binaries, but the output for Elixir was somewhat inferior to a naive Dockerfile as of a year or two ago. The closure size was even larger than a normal Debian based image, but I never bothered to triage why or file issues or PRs to nixpkgs about it. Part of it was that it considered systemd(!) a propagated input.
If I wanted to make it work today I’d use the
erlang_noxorerlang_minimalpackage set to omit wx stuff, and the recently file set support to make sure I didn’t get extra blobs from the source tree or spurious rebuilds.Onor.io
Thanks Shane! I appreciate your insights on this!
onnimonni
Hey and sorry for visiting an old topic but this came to the top when searching for “nixos elixir” with Google.
Are there any public examples of using flakes to locally develop and to deploy an elixir based application to Nixos?
I’m using my own bare metal server to run this but using docker is alright too.