mkRedundantOption: attempt to fix bug with better nesting

This commit is contained in:
greyweather committed 2026-09-01 18:50:25 +01:00
1 parent c61e1c1778
commit 99d252f412
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.";
mkRedundantOption = name: value: attrs: lib.mkOption {
mkRedundantOption = name: value: attrs: (lib.mkOption {
inherit (attrs) type default;
description = ''
${attrs.description}
${mkRedundantOptionDescription name value}
'';
};
});
};
}