From fc6eeca5cfb69d4c6228cb2f324775173590b6ff Mon Sep 17 00:00:00 2001 From: Grey Jones Date: Tue, 1 Sep 2026 18:53:05 +0100 Subject: [PATCH] mkRedundantOption -> mkRedundantOptionAttrs --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} ''; - }); + }; }; }