tmuxPlugins: allow simple overrideAttrs without function (#417913)

This commit is contained in:
Philip Taron
2025-06-18 10:31:53 -07:00
committed by GitHub
+1 -1
View File
@@ -16,7 +16,7 @@ let
rtp = "${derivation}/${path}/${rtpFilePath}";
}
// {
overrideAttrs = f: mkTmuxPlugin (attrs // f attrs);
overrideAttrs = f: mkTmuxPlugin (attrs // (if lib.isFunction f then f attrs else f));
};
mkTmuxPlugin =