Skip to content

Commit

Permalink
Properly generate readme
Browse files Browse the repository at this point in the history
  • Loading branch information
layus authored and ryanbujnowicz committed Mar 5, 2022
1 parent 9cabdd0 commit 7890e0b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ Dependencies of `nix_file` if any.
<pre>
nixpkgs_cc_configure(<a href="#nixpkgs_cc_configure-name">name</a>, <a href="#nixpkgs_cc_configure-attribute_path">attribute_path</a>, <a href="#nixpkgs_cc_configure-nix_file">nix_file</a>, <a href="#nixpkgs_cc_configure-nix_file_content">nix_file_content</a>, <a href="#nixpkgs_cc_configure-nix_file_deps">nix_file_deps</a>, <a href="#nixpkgs_cc_configure-repositories">repositories</a>,
<a href="#nixpkgs_cc_configure-repository">repository</a>, <a href="#nixpkgs_cc_configure-nixopts">nixopts</a>, <a href="#nixpkgs_cc_configure-quiet">quiet</a>, <a href="#nixpkgs_cc_configure-fail_not_supported">fail_not_supported</a>, <a href="#nixpkgs_cc_configure-exec_constraints">exec_constraints</a>,
<a href="#nixpkgs_cc_configure-target_constraints">target_constraints</a>)
<a href="#nixpkgs_cc_configure-target_constraints">target_constraints</a>, <a href="#nixpkgs_cc_configure-register">register</a>)
</pre>

Use a CC toolchain from Nixpkgs. No-op if not a nix-based platform.
Expand Down Expand Up @@ -441,10 +441,7 @@ default is <code>True</code>

<p>

bool, whether the underlying toolchain should be automatically registered with
<code>register_toolchains</code>. Useful when you need a more advanced
toolchain configuration than the one provided here and do not want this partial
toolchain to be registered as-is.
bool, enabled by default, Whether to register (with `register_toolchains`) the generated toolchain and install it as the default cc_toolchain.

</p>
</td>
Expand Down
2 changes: 1 addition & 1 deletion nixpkgs/nixpkgs.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ def nixpkgs_cc_configure(
fail_not_supported: bool, Whether to fail if `nix-build` is not available.
exec_constraints: Constraints for the execution platform.
target_constraints: Constraints for the target platform.
register: Automatically register the created toolchain with the provided *_constraints. Defaults to True.
register: bool, enabled by default, Whether to register (with `register_toolchains`) the generated toolchain and install it as the default cc_toolchain.
"""

nixopts = list(nixopts)
Expand Down

0 comments on commit 7890e0b

Please sign in to comment.