* Get rid of the template argument in mkOverride.
svn path=/nixpkgs/trunk/; revision=23709
This commit is contained in:
parent
fb8e2ed6be
commit
df1d0752eb
@ -304,13 +304,12 @@ rec {
|
|||||||
inherit content;
|
inherit content;
|
||||||
};
|
};
|
||||||
|
|
||||||
# Currently an alias, but sooner or later the template argument should be
|
# Like mkOverrideTemplate, but without the template argument.
|
||||||
# removed.
|
mkOverride = priority: content: mkOverrideTemplate priority {} content;
|
||||||
mkOverride = mkOverrideTemplate;
|
|
||||||
|
|
||||||
# Sugar to override the default value of the option by making a new
|
# Sugar to override the default value of the option by making a new
|
||||||
# default value based on the configuration.
|
# default value based on the configuration.
|
||||||
mkDefaultValue = content: mkOverride 1000 {} content;
|
mkDefaultValue = content: mkOverride 1000 content;
|
||||||
|
|
||||||
# Make the template traversal in function of the property traversal. If
|
# Make the template traversal in function of the property traversal. If
|
||||||
# the template define a non-empty attribute set, then the property is
|
# the template define a non-empty attribute set, then the property is
|
||||||
|
Loading…
x
Reference in New Issue
Block a user