self: super: {
  tmuxPatched = super.tmux.overrideAttrs (oldAttrs: {
    patches = oldAttrs.patches ++ [ tmux/0001-Add-support-for-systemd-socket-activation.patch ];
    configureFlags = oldAttrs.configureFlags ++ ["--enable-systemd"];
    buildInputs = oldAttrs.buildInputs ++ [self.systemd];
  });
}