Merge pull request #62136 from flokli/tmux-tmpdir

tmux module: Fix escaping in TMUX_TMPDIR
This commit is contained in:
Andreas Rammhold 2019-05-31 21:42:47 +02:00 committed by GitHub
commit d9238d723b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -177,7 +177,7 @@ in {
systemPackages = [ pkgs.tmux ]; systemPackages = [ pkgs.tmux ];
variables = { variables = {
TMUX_TMPDIR = lib.optional cfg.secureSocket ''''${XDG_RUNTIME_DIR:-"/run/user/\$(id -u)"}''; TMUX_TMPDIR = lib.optional cfg.secureSocket ''''${XDG_RUNTIME_DIR:-"/run/user/$(id -u)"}'';
}; };
}; };
}; };