From 99d252f41239a10f7ccc5dd5f2fa4864bebf189f Mon Sep 17 00:00:00 2001 From: Grey Jones Date: Tue, 1 Sep 2026 18:50:25 +0100 Subject: [PATCH] mkRedundantOption: attempt to fix bug with better nesting --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index e7825fe..29df67a 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 { + mkRedundantOption = name: value: attrs: (lib.mkOption { inherit (attrs) type default; description = '' ${attrs.description} ${mkRedundantOptionDescription name value} ''; - }; + }); }; }