diff options
| author | Anders Kaseorg <andersk@mit.edu> | 2022-05-24 22:01:49 -0700 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2022-06-05 11:40:21 +0000 |
| commit | 5b2cc72e1ba009352c0ed4905d3e6bb0326f04c2 (patch) | |
| tree | 53407a01e8d7163c229d71ed237aa7ab478f28d7 | |
| parent | universal-ctags: set meta.mainProgram (diff) | |
| download | nixpkgs-origin/backport-174410-to-release-22.05.tar.gz | |
pipewire: Never set an empty LD_LIBRARY_PATHorigin/backport-174410-to-release-22.05
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>
(cherry picked from commit 94fa5a951493937b4a401cd4cea7afba24c22e01)
| -rw-r--r-- | nixos/modules/services/desktops/pipewire/pipewire.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/desktops/pipewire/pipewire.nix b/nixos/modules/services/desktops/pipewire/pipewire.nix index 1323336d866e..6459b22519db 100644 --- a/nixos/modules/services/desktops/pipewire/pipewire.nix +++ b/nixos/modules/services/desktops/pipewire/pipewire.nix @@ -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 = { |
