diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2022-06-14 12:02:11 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 12:02:11 +0000 |
commit | 179051c702f6ce199e7fbd0160f3a1d950fa4e61 (patch) | |
tree | 10a8d58d31a8c90ab3d6af063764e5f8d2906199 /doc | |
parent | 886a17f9347d5377d14f0c3bf0963ba5208a902c (diff) | |
parent | 452a7d6c43872ff73082bb889264e9d02a6cc986 (diff) |
Merge staging-next into staging
Diffstat (limited to 'doc')
-rw-r--r-- | doc/using/configuration.chapter.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md index 842450ebf47fb..2445aa32f2a7f 100644 --- a/doc/using/configuration.chapter.md +++ b/doc/using/configuration.chapter.md @@ -164,14 +164,6 @@ There are several ways to tweak how Nix handles a package which has been marked Note that `permittedInsecurePackages` is only checked if `allowInsecurePredicate` is not specified. -### `config` Options Reference - -The following attributes can be passed in [`config`](#chap-packageconfig). - -```{=docbook} -<include xmlns="http://www.w3.org/2001/XInclude" href="../doc-support/result/config-options.docbook.xml"/> -``` - ## Modify packages via `packageOverrides` {#sec-modify-via-packageOverrides} You can define a function called `packageOverrides` in your local `~/.config/nixpkgs/config.nix` to override Nix packages. It must be a function that takes pkgs as an argument and returns a modified set of packages. @@ -184,6 +176,15 @@ You can define a function called `packageOverrides` in your local `~/.config/nix } ``` +## `config` Options Reference {#sec-config-options-reference} + +The following attributes can be passed in [`config`](#chap-packageconfig). + +```{=docbook} +<include xmlns="http://www.w3.org/2001/XInclude" href="../doc-support/result/config-options.docbook.xml"/> +``` + + ## Declarative Package Management {#sec-declarative-package-management} ### Build an environment {#sec-building-environment} |