summary refs log tree commit diff
path: root/doc/languages-frameworks/beam.section.md
diff options
context:
space:
mode:
authorsuperherointj <5861043+superherointj@users.noreply.github.com>2023-03-21 15:04:24 -0300
committerYt <happysalada@proton.me>2023-03-21 16:12:05 -0400
commit441cbfcfd284298efc1123f2431b42763ec8a437 (patch)
tree021775a653dfe8fde574b5fd1f2b43a6f1e58b04 /doc/languages-frameworks/beam.section.md
parente400f93529cb4ad6e095e42b17b303f5003f6f26 (diff)
downloadnixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.tar
nixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.tar.gz
nixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.tar.bz2
nixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.tar.lz
nixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.tar.xz
nixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.tar.zst
nixpkgs-441cbfcfd284298efc1123f2431b42763ec8a437.zip
erlang: normalize version name
Diffstat (limited to 'doc/languages-frameworks/beam.section.md')
-rw-r--r--doc/languages-frameworks/beam.section.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/languages-frameworks/beam.section.md b/doc/languages-frameworks/beam.section.md
index b246da3a81a..0ef0c830ef8 100644
--- a/doc/languages-frameworks/beam.section.md
+++ b/doc/languages-frameworks/beam.section.md
@@ -14,7 +14,7 @@ nixpkgs follows the [official elixir deprecation schedule](https://hexdocs.pm/el
 
 All BEAM-related expressions are available via the top-level `beam` attribute, which includes:
 
-- `interpreters`: a set of compilers running on the BEAM, including multiple Erlang/OTP versions (`beam.interpreters.erlangR22`, etc), Elixir (`beam.interpreters.elixir`) and LFE (Lisp Flavoured Erlang) (`beam.interpreters.lfe`).
+- `interpreters`: a set of compilers running on the BEAM, including multiple Erlang/OTP versions (`beam.interpreters.erlang_22`, etc), Elixir (`beam.interpreters.elixir`) and LFE (Lisp Flavoured Erlang) (`beam.interpreters.lfe`).
 
 - `packages`: a set of package builders (Mix and rebar3), each compiled with a specific Erlang/OTP version, e.g. `beam.packages.erlang22`.
 
@@ -22,7 +22,7 @@ The default Erlang compiler, defined by `beam.interpreters.erlang`, is aliased a
 
 To create a package builder built with a custom Erlang version, use the lambda, `beam.packagesWith`, which accepts an Erlang/OTP derivation and produces a package builder similar to `beam.packages.erlang`.
 
-Many Erlang/OTP distributions available in `beam.interpreters` have versions with ODBC and/or Java enabled or without wx (no observer support). For example, there's `beam.interpreters.erlangR22_odbc_javac`, which corresponds to `beam.interpreters.erlangR22` and `beam.interpreters.erlangR22_nox`, which corresponds to `beam.interpreters.erlangR22`.
+Many Erlang/OTP distributions available in `beam.interpreters` have versions with ODBC and/or Java enabled or without wx (no observer support). For example, there's `beam.interpreters.erlang_22_odbc_javac`, which corresponds to `beam.interpreters.erlang_22` and `beam.interpreters.erlang_22_nox`, which corresponds to `beam.interpreters.erlang_22`.
 
 ## Build Tools {#build-tools}
 
@@ -154,7 +154,7 @@ Here is how your `default.nix` file would look for a phoenix project.
 with import <nixpkgs> { };
 
 let
-  # beam.interpreters.erlangR23 is available if you need a particular version
+  # beam.interpreters.erlang_23 is available if you need a particular version
   packages = beam.packagesWith beam.interpreters.erlang;
 
   pname = "your_project";
@@ -274,7 +274,7 @@ Usually, we need to create a `shell.nix` file and do our development inside of t
 
 with pkgs;
 let
-  elixir = beam.packages.erlangR24.elixir_1_12;
+  elixir = beam.packages.erlang_24.elixir_1_12;
 in
 mkShell {
   buildInputs = [ elixir ];