diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2022-05-19 20:51:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 20:51:38 +0200 |
commit | 90344e9f40c9462f382231dc7682ffcec77b6b9d (patch) | |
tree | de0abcc78098c103539332c8bf0cd2de0d134456 /doc/using | |
parent | 9e543ef176181c1d36c9315ba4856af597b9a142 (diff) | |
parent | e40d2099d235f80aa3444b7a76028c0b7725a549 (diff) | |
download | nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.gz nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.bz2 nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.lz nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.xz nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.tar.zst nixpkgs-90344e9f40c9462f382231dc7682ffcec77b6b9d.zip |
Merge pull request #171163 from hercules-ci/nixpkgs-config-doc
Add generated `nixpkgs.config` doc to Nixpkgs manual
Diffstat (limited to 'doc/using')
-rw-r--r-- | doc/using/configuration.chapter.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/using/configuration.chapter.md b/doc/using/configuration.chapter.md index 932b24237c0..842450ebf47 100644 --- a/doc/using/configuration.chapter.md +++ b/doc/using/configuration.chapter.md @@ -164,6 +164,14 @@ 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. |