erlang-shell.nix 253 B

12345678910111213141516
  1. { pkgs ? import <nixpkgs> {} }:
  2. with pkgs;
  3. let
  4. erlang = pkgs.beam.packages.erlangR22.erlang;
  5. rebar3 = pkgs.beam.packages.erlangR22.rebar3;
  6. in
  7. mkShell {
  8. buildInputs = [ erlang rebar3 ];
  9. ERL_INCLUDE_PATH="${erlang}/lib/erlang/usr/include";
  10. }