Revert "mkRedundantOption -> mkRedundantOptionAttrs"

This reverts commit fc6eeca5cf.
This commit is contained in:
greyweather committed 2026-09-01 19:06:26 +01:00
1 parent fc6eeca5cf
commit 219a097abf
1 file changed
+2 -2
+2 -2
View File
@@ -53,12 +53,12 @@
mkRedundantOptionDescription = name: value: "The functionality of this option completely depends on `${name}` being `${value}`, and will not be evaluated otherwise."; 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; inherit (attrs) type default;
description = '' description = ''
${attrs.description} ${attrs.description}
${mkRedundantOptionDescription name value} ${mkRedundantOptionDescription name value}
''; '';
}; });
}; };
} }