tmux module: set TMUX_TMPDIR via environment instead of wrapper

This commit is contained in:
Peter Hoeg
2016-05-27 17:29:19 +08:00
parent e746e1ffbc
commit 5404595b55
2 changed files with 6 additions and 4 deletions
-3
View File
@@ -34,9 +34,6 @@ stdenv.mkDerivation rec {
postInstall = ''
mkdir -p $out/share/bash-completion/completions
cp -v ${bashCompletion}/completions/tmux $out/share/bash-completion/completions/tmux
wrapProgram $out/bin/tmux \
--set TMUX_TMPDIR \''${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}
'';
meta = {