diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2018-11-15 15:30:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 15:30:15 +0000 |
commit | 5de4fe9e8ad7f54b96e7e4b26ded1f81e09f8517 (patch) | |
tree | c0c545df998b372a2924db1ede57a451f96b0db1 /pkgs/misc | |
parent | b1c149d47ad74232da02ac35fe3fed5749be7483 (diff) | |
parent | 8657ad712ce6ad6f6b14c8bca57e3cdb56d26d9d (diff) |
Merge pull request #50385 from kalbasit/nixpkgs_tmux-darwin-sensible-reattach
tmuxPlugins.sensible: hardcode the path of reattach-to-user-namespace
Diffstat (limited to 'pkgs/misc')
-rw-r--r-- | pkgs/misc/tmux-plugins/default.nix | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/pkgs/misc/tmux-plugins/default.nix b/pkgs/misc/tmux-plugins/default.nix index fb95b667d864f..2e269e185e4d8 100644 --- a/pkgs/misc/tmux-plugins/default.nix +++ b/pkgs/misc/tmux-plugins/default.nix @@ -1,4 +1,9 @@ -{ fetchgit, stdenv, pkgs }: +{ fetchgit +, lib +, pkgs +, reattach-to-user-namespace +, stdenv +}: let rtpPath = "share/tmux-plugins"; @@ -187,6 +192,9 @@ in rec { rev = "e91b178ff832b7bcbbf4d99d9f467f63fd1b76b5"; sha256 = "1z8dfbwblrbmb8sgb0k8h1q0dvfdz7gw57las8nwd5gj6ss1jyvx"; }; + postInstall = lib.optionalString pkgs.stdenv.isDarwin '' + sed -e 's:reattach-to-user-namespace:${reattach-to-user-namespace}/bin/reattach-to-user-namespace:g' -i $target/sensible.tmux + ''; }; sessionist = mkDerivation { |