diff --git a/flake.nix b/flake.nix index 29df67a..1ad51b9 100644 --- a/flake.nix +++ b/flake.nix @@ -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 { + mkRedundantOptionAttrs = name: value: attrs: { inherit (attrs) type default; description = '' ${attrs.description} ${mkRedundantOptionDescription name value} ''; - }); + }; }; }