Merge pull request #136475 from Artturin/pipewirejackldpath

nixos/pipewire: use absolute path for jack libs
This commit is contained in:
Artturi 2021-09-03 16:36:39 +03:00 committed by GitHub
commit 45b7c5b223
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -194,7 +194,7 @@ in {
};
environment.sessionVariables.LD_LIBRARY_PATH =
lib.optional cfg.jack.enable "/run/current-system/sw/lib/pipewire";
lib.optional cfg.jack.enable "${cfg.package.jack}/lib";
# https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/464#note_723554
systemd.user.services.pipewire.environment."PIPEWIRE_LINK_PASSIVE" = "1";