mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-23 14:31:55 +03:00
docs: improve docs for groups
This commit is contained in:
parent
3b42e5a8e4
commit
9f507c9341
@ -10,6 +10,7 @@ in {
|
|||||||
spagoYamlFile = l.mkOption {
|
spagoYamlFile = l.mkOption {
|
||||||
type = t.path;
|
type = t.path;
|
||||||
default = "${config.mkDerivation.src}/spago.yaml";
|
default = "${config.mkDerivation.src}/spago.yaml";
|
||||||
|
defaultText = "\${config.mkDerivation.src}/spago.yaml";
|
||||||
};
|
};
|
||||||
|
|
||||||
sources = l.mkOption {
|
sources = l.mkOption {
|
||||||
|
@ -27,9 +27,13 @@ in {
|
|||||||
overrideAll = lib.mkOption {
|
overrideAll = lib.mkOption {
|
||||||
type = t.deferredModule;
|
type = t.deferredModule;
|
||||||
description = ''
|
description = ''
|
||||||
Common configuration for all packages in all groups
|
Common overrides for all packages.
|
||||||
|
Gets applied on all groups.
|
||||||
'';
|
'';
|
||||||
default = {};
|
default = {};
|
||||||
|
example = {
|
||||||
|
mkDerivation.doCheck = false;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
overrides = lib.mkOption {
|
overrides = lib.mkOption {
|
||||||
type = t.lazyAttrsOf (t.deferredModuleWith {
|
type = t.lazyAttrsOf (t.deferredModuleWith {
|
||||||
@ -38,7 +42,8 @@ in {
|
|||||||
];
|
];
|
||||||
});
|
});
|
||||||
description = ''
|
description = ''
|
||||||
Holds overrides for all packages in all groups
|
Overrides for specific package names.
|
||||||
|
Gets applied on all groups.
|
||||||
'';
|
'';
|
||||||
default = {};
|
default = {};
|
||||||
example = {
|
example = {
|
||||||
|
Loading…
Reference in New Issue
Block a user