wrappers/shared: only propagate files when nixvim is enabled

This commit is contained in:
Matt Sturgeon 2024-09-24 11:26:53 +01:00
parent 87509bac1f
commit 8f991cc8bc
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299

View file

@ -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 (