diff options
author | Robert Hensing <roberth@users.noreply.github.com> | 2023-09-28 17:35:38 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-28 17:35:38 +0100 |
commit | d37aa6f414c01bfebb7c3ed6719e4051898ab817 (patch) | |
tree | 2d24d2cc6839b75cc3ad214ef37f36b3b1503c5b | |
parent | a56d3e9d3f1edc4365d18c6096780bac5ff04ea0 (diff) | |
parent | 11406bdc0e5af9b3c8a8d597da23349238c65277 (diff) | |
download | nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.tar nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.tar.gz nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.tar.bz2 nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.tar.lz nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.tar.xz nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.tar.zst nixlib-d37aa6f414c01bfebb7c3ed6719e4051898ab817.zip |
Merge pull request #257843 from tweag/nixos-nixpkgs-overlays-rewrite
nixos/nixpkgs: Rewrite overlays option docs
-rw-r--r-- | nixos/modules/misc/nixpkgs.nix | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/nixos/modules/misc/nixpkgs.nix b/nixos/modules/misc/nixpkgs.nix index f9d8bccea284..cc5f57421092 100644 --- a/nixos/modules/misc/nixpkgs.nix +++ b/nixos/modules/misc/nixpkgs.nix @@ -176,16 +176,12 @@ in ''; type = types.listOf overlayType; description = lib.mdDoc '' - List of overlays to use with the Nix Packages collection. - (For details, see the Nixpkgs documentation.) It allows - you to override packages globally. Each function in the list - takes as an argument the *original* Nixpkgs. - The first argument should be used for finding dependencies, and - the second should be used for overriding recipes. - - If `nixpkgs.pkgs` is set, overlays specified here - will be applied after the overlays that were already present - in `nixpkgs.pkgs`. + List of overlays to apply to Nixpkgs. + This option allows modifying the Nixpkgs package set accessed through the `pkgs` module argument. + + For details, see the [Overlays chapter in the Nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#chap-overlays). + + If the {option}`nixpkgs.pkgs` option is set, overlays specified using `nixpkgs.overlays` will be applied after the overlays that were already included in `nixpkgs.pkgs`. ''; }; |