mirror of
https://github.com/LnL7/nix-darwin.git
synced 2025-03-06 08:47:00 +00:00
nixpkgs: Rewrite overlays option docs
henrik-ch was also here :) Backport of Nixpkgs commit 11406bdc0e5af9b3c8a8d597da23349238c65277. Co-authored-by: Silvan Mosberger <silvan.mosberger@tweag.io> Co-Authored-By: Valentin Gagarin <valentin.gagarin@tweag.io>
This commit is contained in:
parent
962eb3f1c0
commit
3cd3a79f9b
1 changed files with 5 additions and 9 deletions
|
@ -151,16 +151,12 @@ in
|
||||||
'';
|
'';
|
||||||
type = types.listOf overlayType;
|
type = types.listOf overlayType;
|
||||||
description = ''
|
description = ''
|
||||||
List of overlays to use with the Nix Packages collection.
|
List of overlays to apply to Nixpkgs.
|
||||||
(For details, see the Nixpkgs documentation.) It allows
|
This option allows modifying the Nixpkgs package set accessed through the `pkgs` module argument.
|
||||||
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
|
For details, see the [Overlays chapter in the Nixpkgs manual](https://nixos.org/manual/nixpkgs/stable/#chap-overlays).
|
||||||
will be applied after the overlays that were already present
|
|
||||||
in `nixpkgs.pkgs`.
|
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`.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue