diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-06-14 11:18:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 11:18:56 +0200 |
commit | 0137df896e80d1a766efc2e89e627a1e027cbfa1 (patch) | |
tree | b0934cf9c17732b9c7254e0c514008e3e79c1fd6 /doc | |
parent | 6e030d41bb67b47488936b6789e1284be80b9442 (diff) | |
parent | fa01afcf7f4d98dc7953fb3ac22f68108d4a57d7 (diff) | |
download | nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.tar nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.tar.gz nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.tar.bz2 nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.tar.lz nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.tar.xz nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.tar.zst nixlib-0137df896e80d1a766efc2e89e627a1e027cbfa1.zip |
Merge pull request #177370 from hercules-ci/nixpkgs-manual-promote-config-options-reference
doc: Promote config Options Reference to sub-chapter section
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 842450ebf47f..2445aa32f2a7 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} |