git.iko.soy/typeable/nixpkgs
on master help sign in
tmuxPlugins.sensible: hardcode the path of reattach-to-user-namespace
commit8657ad712ce6ad6f6b14c8bca57e3cdb56d26d9d authorWael M. Nasreddine <wael.nasreddine@gmail.com> dateWed 14 Nov 2018, 19:29 (8 years ago) parent61d41d7
1 file changed+9−1
pkgs/misc/tmux-plugins/default.nix+9−1
pkgs/misc/tmux-plugins/default.nix+9−1
@@ -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 {