Last active
November 21, 2023 11:54
-
-
Save diasbruno/b25634a7b55286c17c0375b3502ed9db to your computer and use it in GitHub Desktop.
Fix to run Erlang/Elixir from nix on macOS ()
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { nixpkgs ? import <nixpkgs> {} }: | |
| let | |
| inherit (nixpkgs) pkgs; | |
| erlang = nixpkgs.beam.interpreters.erlangR25.override { | |
| configureFlags = ["--disable-jit"]; | |
| }; | |
| beamPackages = nixpkgs.beam.packagesWith erlang; | |
| in pkgs.mkShell { | |
| nativeBuildInputs = with pkgs; [erlang elixir]; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment