Revert "mkRedundantOption -> mkRedundantOptionAttrs"
This reverts commit fc6eeca5cf.
This commit is contained in:
1 file changed
+2
-2
@@ -53,12 +53,12 @@
|
||||
|
||||
mkRedundantOptionDescription = name: value: "The functionality of this option completely depends on `${name}` being `${value}`, and will not be evaluated otherwise.";
|
||||
|
||||
mkRedundantOptionAttrs = name: value: attrs: {
|
||||
mkRedundantOption = name: value: attrs: (lib.mkOption {
|
||||
inherit (attrs) type default;
|
||||
description = ''
|
||||
${attrs.description}
|
||||
${mkRedundantOptionDescription name value}
|
||||
'';
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user