Files
nixpkgs/nixos/modules/programs
Klemens Nanni afffa89ec5 ssh: Fix environment variable parsing (#177503)
From systemctl(1)'s `show-environment`:
	[...] If no special characters or
	whitespace is present in the variable values, no escaping is
	performed, and the assignments have the form "VARIABLE=value". If
	whitespace or characters which have special meaning to the shell
	are present, dollar-single-quote escaping is used, and assignments
	have the form "VARIABLE=$'value'". [...]

`DISPLAY` is unlikely to require such escaping, but is still broken and
overly complicated.

Just rely on the fact that systemctl outputs line that are safe to be
interpreted by the shell.

Filter for `DISPLAY` and `eval` the output instead of trying to parse
just the value part and reassign it again.
2025-01-12 12:47:30 +01:00
..
2025-01-11 08:51:07 +01:00
2024-12-19 10:06:55 +01:00
2024-12-10 14:38:30 -03:00
2024-12-06 23:41:41 +01:00
2024-12-08 21:01:45 -03:00
2024-12-10 20:26:33 +01:00
2024-12-13 15:26:55 +01:00
2024-12-24 14:45:41 +01:00