Merge pull request #28862 from veprbl/doc_fix
small documentation fixes
This commit is contained in:
commit
38311727f5
2
.github/CONTRIBUTING.md
vendored
2
.github/CONTRIBUTING.md
vendored
@ -23,7 +23,7 @@ under the terms of [COPYING](../COPYING), which is an MIT-like license.
|
|||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
* nginx: init at 2.0.1
|
* nginx: init at 2.0.1
|
||||||
* firefox: 3.0 -> 3.1.1
|
* firefox: 54.0.1 -> 55.0
|
||||||
* nixos/hydra: add bazBaz option
|
* nixos/hydra: add bazBaz option
|
||||||
|
|
||||||
Dual baz behavior is needed to do foo.
|
Dual baz behavior is needed to do foo.
|
||||||
|
@ -365,7 +365,7 @@ splitting up an existing category.</para>
|
|||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>If it’s a (set of) <emphasis>tool(s)</emphasis>:</term>
|
<term>If it’s a (set of) <emphasis>tool(s)</emphasis>:</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>(A tool is a relatively small program, especially one intented
|
<para>(A tool is a relatively small program, especially one intended
|
||||||
to be used non-interactively.)</para>
|
to be used non-interactively.)</para>
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
@ -608,7 +608,7 @@ evaluate correctly.</para>
|
|||||||
</section>
|
</section>
|
||||||
<section xml:id="sec-sources"><title>Fetching Sources</title>
|
<section xml:id="sec-sources"><title>Fetching Sources</title>
|
||||||
<para>There are multiple ways to fetch a package source in nixpkgs. The
|
<para>There are multiple ways to fetch a package source in nixpkgs. The
|
||||||
general guidline is that you should package sources with a high degree of
|
general guideline is that you should package sources with a high degree of
|
||||||
availability. Right now there is only one fetcher which has mirroring
|
availability. Right now there is only one fetcher which has mirroring
|
||||||
support and that is <literal>fetchurl</literal>. Note that you should also
|
support and that is <literal>fetchurl</literal>. Note that you should also
|
||||||
prefer protocols which have a corresponding proxy environment variable.
|
prefer protocols which have a corresponding proxy environment variable.
|
||||||
|
@ -590,7 +590,7 @@ By default tests are run because `doCheck = true`. Test dependencies, like
|
|||||||
e.g. the test runner, should be added to `buildInputs`.
|
e.g. the test runner, should be added to `buildInputs`.
|
||||||
|
|
||||||
By default `meta.platforms` is set to the same value
|
By default `meta.platforms` is set to the same value
|
||||||
as the interpreter unless overriden otherwise.
|
as the interpreter unless overridden otherwise.
|
||||||
|
|
||||||
##### `buildPythonPackage` parameters
|
##### `buildPythonPackage` parameters
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ into the `environment.systemPackages` or bring them into scope with
|
|||||||
`nix-shell -p rustStable.rustc -p rustStable.cargo`.
|
`nix-shell -p rustStable.rustc -p rustStable.cargo`.
|
||||||
|
|
||||||
There are also `rustBeta` and `rustNightly` package sets available.
|
There are also `rustBeta` and `rustNightly` package sets available.
|
||||||
These are not updated very regulary. For daily builds use either rustup from
|
These are not updated very regularly. For daily builds use either rustup from
|
||||||
nixpkgs or use the [Rust nightlies overlay](#using-the-rust-nightlies-overlay).
|
nixpkgs or use the [Rust nightlies overlay](#using-the-rust-nightlies-overlay).
|
||||||
|
|
||||||
## Packaging Rust applications
|
## Packaging Rust applications
|
||||||
|
@ -78,7 +78,7 @@ Additional information.
|
|||||||
|
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
<command>firefox: 3.0 -> 3.1.1</command>
|
<command>firefox: 54.0.1 -> 55.0</command>
|
||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user