mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-25 11:45:01 +03:00
b727a07775
Add options `overrides.${name}` and `overrideAll` to all language modules that manage a dependency tree. This is done in a backward compatible fashion. Old options for overriding dependencies continue working, though those are not displayed in the manual anymore. For the following modules the manual now suggest using the new unified override options: - for pip: use `pip.overrides` and `pip.overrideAll` instead of `pip.drvs` - for nodejs-granular-v3: use `nodejs-granular-v3.overrides` and `nodejs-granular-v3.overrideAll` instead of `nodejs-granular-v3.deps` - `php-granular`: use `php-granular.override` and `php-granular.overrideAll` instead of `php-granular.deps`
14 lines
159 B
Nix
14 lines
159 B
Nix
{
|
|
lib,
|
|
specialArgs,
|
|
...
|
|
}: module:
|
|
lib.mkOption {
|
|
type = lib.types.submoduleWith {
|
|
inherit specialArgs;
|
|
modules = [
|
|
module
|
|
];
|
|
};
|
|
}
|