@@ -1,4 +1,9 @@
1−{ fetchgit, stdenv, pkgs }:
1+{ fetchgit
2+, lib
3+, pkgs
4+, reattach-to-user-namespace
5+, stdenv
6+}:
27
38let
49 rtpPath = "share/tmux-plugins";
@@ -187,6 +192,9 @@ in rec {
187192 rev = "e91b178ff832b7bcbbf4d99d9f467f63fd1b76b5";
188193 sha256 = "1z8dfbwblrbmb8sgb0k8h1q0dvfdz7gw57las8nwd5gj6ss1jyvx";
189194 };
195+ postInstall = lib.optionalString pkgs.stdenv.isDarwin ''
196+ sed -e 's:reattach-to-user-namespace:${reattach-to-user-namespace}/bin/reattach-to-user-namespace:g' -i $target/sensible.tmux
197+ '';
190198 };
191199
192200 sessionist = mkDerivation {