nixpkgs/nixos/modules/programs
Klemens Nanni 7f104aa6e2 tmux module: Fix escaping in TMUX_TMPDIR
5404595b55 relocated code but kept
one backslah too many, leading to

	$ tmux
	error creating /run/user/$(id -u)/tmux-1000 (No such file or directory)

/run/user/$UID/ is created by pam_systemd(3) which also populates
XD_RUNTIME_DIR with that value.

Alternatively, TMUX_TMPDIR might simply default to XDG_RUNTIME_DIR
without providing the same directory yet again as default string in
parameter substitution, however such behaviour change is subject to
another patch.

In fact, with `security.polkit.enable = false` systemd_logind(8) fails
to start and /run/user/$UID/ is never created for unprivileged users
in proper login sessions;  XDG_RUNTIME_DIR would consequently not be
set either.

Removing the fallback to /run/user/$UID/ would have caused TMUX_TMPDIR
to be empty, which in turn would lead tmux(1) to use /tmp/.  This
effectively breaks the idea of isolated sockets entirely while hiding
errors from the user.
2019-05-31 15:09:59 +02:00
..
bash treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
command-not-found lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
digitalbitbox
zsh treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
adb.nix Remove relatedPackages to fix ofborg evaluation 2018-12-20 19:29:00 +01:00
atop.nix
autojump.nix
bcc.nix
blcr.nix
browserpass.nix browserpass: Remove v2 and switch to buildGoModule (#60282) 2019-04-28 11:05:24 -07:00
ccache.nix
cdemu.nix
chromium.nix
criu.nix
dconf.nix gnome3.gsettings-desktop-schemas -> gsettings-desktop-schemas 2019-04-17 13:39:23 -04:00
dmrconfig.nix
environment.nix
firejail.nix
fish.nix treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
fish_completion-generator.patch nixos/fish: generate autocompletions from man pages 2019-02-27 12:23:48 +01:00
freetds.nix
gnupg.nix programs.gnupg: Support setting the gnupg package 2019-04-05 08:49:53 +02:00
gphoto2.nix
iftop.nix
iotop.nix nixos/iotop: don't install the package globally 2019-02-07 16:52:01 +01:00
java.nix
kbdlight.nix
less.nix nixos: add preferLocalBuild=true; on derivations for config files 2019-02-22 20:11:27 +01:00
light.nix
mininet.nix
mosh.nix
mtr.nix
nano.nix programs/nano: Generate nanorc if syntaxHighlight enabled 2019-01-14 23:27:04 +01:00
nm-applet.nix
npm.nix
nylas-mail.nix
oblogout.nix
plotinus.nix
plotinus.xml
qt5ct.nix
screen.nix
sedutil.nix
shadow.nix
shell.nix
singularity.nix nixos/singularity: fix singularity output 2019-01-31 11:04:16 +00:00
slock.nix
spacefm.nix
ssh.nix nixos/ssh: apply options after extraConfig 2019-02-18 21:58:46 +00:00
ssmtp.nix treewide: Remove usage of isNull 2019-04-29 14:05:50 +02:00
sway.nix sway: Read the configuration from /etc before /nix/store (#60319) 2019-04-27 22:38:18 +02:00
sysdig.nix
systemtap.nix
thefuck.nix
tmux.nix tmux module: Fix escaping in TMUX_TMPDIR 2019-05-31 15:09:59 +02:00
udevil.nix
venus.nix
vim.nix
virtualbox.nix
wavemon.nix
way-cooler.nix way-cooler: 0.8.0 -> 0.8.1 (#53220) 2019-01-15 23:05:17 +02:00
waybar.nix nixos/waybar: init module 2019-03-18 09:56:27 +01:00
wireshark.nix
xfs_quota.nix
xonsh.nix nixos/xonsh: do not use /var/run 2019-03-20 00:01:45 +01:00
xss-lock.nix nixos/xss-lock: improve module 2019-05-12 03:20:44 +02:00
yabar.nix
zmap.nix nixos/zmap: init module 2019-05-10 08:12:27 +02:00