summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorErlend Hamberg <erlend@hamberg.no>2022-01-04 11:20:42 +0100
committerGitHub <noreply@github.com>2022-01-04 18:20:42 +0800
commit865219a09dcc4f97f3ab2f8cfcb5ab6890cda461 (patch)
tree829b9966e3bf8cfb060a838568c6b0d569600866 /doc
parentdee5d65e0191a4f65c30ed90388356f2bf3f56bc (diff)
downloadnixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.tar
nixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.tar.gz
nixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.tar.bz2
nixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.tar.lz
nixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.tar.xz
nixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.tar.zst
nixpkgs-865219a09dcc4f97f3ab2f8cfcb5ab6890cda461.zip
doc/beam: minor formatting/copy fixes (#153396)
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/beam.section.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/languages-frameworks/beam.section.md b/doc/languages-frameworks/beam.section.md
index 6552f6cce5e..f6c74cb01e4 100644
--- a/doc/languages-frameworks/beam.section.md
+++ b/doc/languages-frameworks/beam.section.md
@@ -74,7 +74,7 @@ there are 3 steps, frontend dependencies (javascript), backend dependencies (eli
 
 ##### mixRelease - Frontend dependencies (javascript) {#mix-release-javascript-deps}
 
-for phoenix projects, inside of nixpkgs you can either use yarn2nix (mkYarnModule) or node2nix. An example with yarn2nix can be found [here](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/web-apps/plausible/default.nix#L39). An example with node2nix will follow. To package something outside of nixpkgs, you have alternatives like [npmlock2nix](https://github.com/nix-community/npmlock2nix) or [nix-npm-buildpackage](https://github.com/serokell/nix-npm-buildpackage)
+For phoenix projects, inside of nixpkgs you can either use yarn2nix (mkYarnModule) or node2nix. An example with yarn2nix can be found [here](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/web-apps/plausible/default.nix#L39). An example with node2nix will follow. To package something outside of nixpkgs, you have alternatives like [npmlock2nix](https://github.com/nix-community/npmlock2nix) or [nix-npm-buildpackage](https://github.com/serokell/nix-npm-buildpackage)
 
 ##### mixRelease - backend dependencies (mix) {#mix-release-mix-deps}
 
@@ -82,13 +82,13 @@ There are 2 ways to package backend dependencies. With mix2nix and with a fixed-
 
 ###### mix2nix {#mix2nix}
 
-mix2nix is a cli tool available in nixpkgs. it will generate a nix expression from a mix.lock file. It is quite standard in the 2nix tool series.
+`mix2nix` is a cli tool available in nixpkgs. it will generate a nix expression from a mix.lock file. It is quite standard in the 2nix tool series.
 
 Note that currently mix2nix can't handle git dependencies inside the mix.lock file. If you have git dependencies, you can either add them manually (see [example](https://github.com/NixOS/nixpkgs/blob/master/pkgs/servers/pleroma/default.nix#L20)) or use the FOD method.
 
 The advantage of using mix2nix is that nix will know your whole dependency graph. On a dependency update, this won't trigger a full rebuild and download of all the dependencies, where FOD will do so.
 
-practical steps:
+Practical steps:
 
 - run `mix2nix > mix_deps.nix` in the upstream repo.
 - pass `mixNixDeps = with pkgs; import ./mix_deps.nix { inherit lib beamPackages; };` as an argument to mixRelease.