mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 21:33:03 +03:00
Merge pull request #208176 from ncfavier/markdown-no-trailing
This commit is contained in:
commit
8796411139
@ -55,10 +55,13 @@ trim_trailing_whitespace = unset
|
|||||||
[*.lock]
|
[*.lock]
|
||||||
indent_size = unset
|
indent_size = unset
|
||||||
|
|
||||||
# trailing whitespace is an actual syntax element of classic Markdown/
|
# Although Markdown/CommonMark allows using two trailing spaces to denote
|
||||||
# CommonMark to enforce a line break
|
# a hard line break, we do not use that feature in nixpkgs since
|
||||||
|
# it forces the surrounding paragraph to become a <literallayout> which
|
||||||
|
# does not wrap reasonably.
|
||||||
|
# Instead of a hard line break, start a new paragraph by inserting a blank line.
|
||||||
[*.md]
|
[*.md]
|
||||||
trim_trailing_whitespace = unset
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
# binaries
|
# binaries
|
||||||
[*.nib]
|
[*.nib]
|
||||||
|
@ -17,6 +17,7 @@ In the following is an example expression using `buildGoModule`, the following a
|
|||||||
In that case, rather than fetching the dependencies and vendoring them, the dependencies vendored in the source repo will be used.
|
In that case, rather than fetching the dependencies and vendoring them, the dependencies vendored in the source repo will be used.
|
||||||
|
|
||||||
To avoid updating this field when dependencies change, run `go mod vendor` in your source repo and set `vendorHash = null;`
|
To avoid updating this field when dependencies change, run `go mod vendor` in your source repo and set `vendorHash = null;`
|
||||||
|
|
||||||
To obtain the actual hash, set `vendorHash = lib.fakeSha256;` and run the build ([more details here](#sec-source-hashes)).
|
To obtain the actual hash, set `vendorHash = lib.fakeSha256;` and run the build ([more details here](#sec-source-hashes)).
|
||||||
- `proxyVendor`: Fetches (go mod download) and proxies the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build or if any dependency has case-insensitive conflicts which will produce platform dependant `vendorHash` checksums.
|
- `proxyVendor`: Fetches (go mod download) and proxies the vendor directory. This is useful if your code depends on c code and go mod tidy does not include the needed sources to build or if any dependency has case-insensitive conflicts which will produce platform dependant `vendorHash` checksums.
|
||||||
|
|
||||||
|
@ -16,8 +16,20 @@
|
|||||||
</para>
|
</para>
|
||||||
<itemizedlist>
|
<itemizedlist>
|
||||||
<listitem>
|
<listitem>
|
||||||
<literallayout>Nix has been updated from 2.3 to 2.8. This mainly brings experimental support for Flakes, but also marks the <literal>nix</literal> command as experimental which now has to be enabled via the configuration explicitly. For more information and instructions for upgrades, see the relase notes for <link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.4.html">nix-2.4</link>,
|
<para>
|
||||||
<link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.5.html">nix-2.5</link>, <link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.6.html">nix-2.6</link>, <link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.7.html">nix-2.7</link> and <link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.8.html">nix-2.8</link></literallayout>
|
Nix has been updated from 2.3 to 2.8. This mainly brings
|
||||||
|
experimental support for Flakes, but also marks the
|
||||||
|
<literal>nix</literal> command as experimental which now has
|
||||||
|
to be enabled via the configuration explicitly. For more
|
||||||
|
information and instructions for upgrades, see the relase
|
||||||
|
notes for
|
||||||
|
<link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.4.html">nix-2.4</link>,
|
||||||
|
<link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.5.html">nix-2.5</link>,
|
||||||
|
<link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.6.html">nix-2.6</link>,
|
||||||
|
<link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.7.html">nix-2.7</link>
|
||||||
|
and
|
||||||
|
<link xlink:href="https://nixos.org/manual/nix/stable/release-notes/rl-2.8.html">nix-2.8</link>
|
||||||
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user