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:
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 = {
|
||||
|
||||
Reference in New Issue
Block a user