pipewire: Never set an empty LD_LIBRARY_PATH

An empty LD_LIBRARY_PATH may confuse some applications into appending
:, creating an empty segment that insecurely refers to the current
directory, not the absence of directories.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
This commit is contained in:
Anders Kaseorg
2022-06-05 13:34:35 +02:00
committed by Bjørn Forsman
parent 2db97cb047
commit b362ef4eff
@@ -239,7 +239,7 @@ in {
};
environment.sessionVariables.LD_LIBRARY_PATH =
lib.optional cfg.jack.enable "${cfg.package.jack}/lib";
lib.mkIf cfg.jack.enable [ "${cfg.package.jack}/lib" ];
users = lib.mkIf cfg.systemWide {
users.pipewire = {