Unverified Commit ae5e755f authored by Philip Taron's avatar Philip Taron Committed by GitHub
Browse files

tmuxPlugins: allow simple overrideAttrs without function (#417913)

parents 4db9fff9 37fda8bd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 =