From 8f991cc8bc417ddbd1d5c7732268255557c13f4a Mon Sep 17 00:00:00 2001 From: Matt Sturgeon Date: Tue, 24 Sep 2024 11:26:53 +0100 Subject: [PATCH] wrappers/shared: only propagate files when nixvim is enabled --- wrappers/_shared.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wrappers/_shared.nix b/wrappers/_shared.nix index 4a891de2..6dd7bbac 100644 --- a/wrappers/_shared.nix +++ b/wrappers/_shared.nix @@ -58,7 +58,7 @@ in # Propagate extraFiles to the host modules (optionalAttrs (filesOpt != null) ( - mkIf (!cfg.wrapRc) ( + mkIf (cfg.enable && !cfg.wrapRc) ( setAttrByPath filesOpt ( listToAttrs ( map (