Using niv to install recent Elixir in your nix-shell
May 24, 2021•581 words
For the last few weeks I've been playing a bit with Nx - the new library for Numeric computation in Elixir.
Nx is still offered as a developer build and because of that it ends up having somewhat stringent requirements, in particular the latest version released a few days ago requires the most recent Erlang and Elixir.
The nix community does a great job at keeping the nixpkgs-unstable channel up to date but Elixir 12 was not available yet.
Nudged by my friend Ben I decided to see what it wou...
Read post