nixpkgs/pkgs/development/libraries/pipewire/0090-pipewire-config-template-paths.patch

51 lines
2.2 KiB
Diff

diff --git a/src/daemon/minimal.conf.in b/src/daemon/minimal.conf.in
index 9c885a38f..c474eb45d 100644
--- a/src/daemon/minimal.conf.in
+++ b/src/daemon/minimal.conf.in
@@ -111,7 +111,7 @@ context.modules = [
# access.allowed to list an array of paths of allowed
# apps.
#access.allowed = [
- # @session_manager_path@
+ # <session_manager_path>
#]
# An array of rejected paths.
@@ -359,5 +359,5 @@ context.exec = [
# It can be interesting to start another daemon here that listens
# on another address with the -a option (eg. -a tcp:4713).
#
- #@pulse_comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf" }
+ #@pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf" }
]
diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
index 697bf094d..3a7b54ddd 100644
--- a/src/daemon/pipewire.conf.in
+++ b/src/daemon/pipewire.conf.in
@@ -142,7 +142,7 @@ context.modules = [
# access.allowed to list an array of paths of allowed
# apps.
#access.allowed = [
- # @session_manager_path@
+ # <session_manager_path>
#]
# An array of rejected paths.
@@ -294,7 +294,7 @@ context.exec = [
# but it is better to start it as a systemd service.
# Run the session manager with -h for options.
#
- @sm_comment@{ path = "@session_manager_path@" args = "@session_manager_args@"
+ @sm_comment@{ path = "<session_manager_path>" args = "@session_manager_args@"
@sm_comment@ condition = [ { exec.session-manager = null } { exec.session-manager = true } ] }
#
# You can optionally start the pulseaudio-server here as well
@@ -302,6 +302,6 @@ context.exec = [
# It can be interesting to start another daemon here that listens
# on another address with the -a option (eg. -a tcp:4713).
#
- @pulse_comment@{ path = "@pipewire_path@" args = "-c pipewire-pulse.conf"
+ @pulse_comment@{ path = "<pipewire_path>" args = "-c pipewire-pulse.conf"
@pulse_comment@ condition = [ { exec.pipewire-pulse = null } { exec.pipewire-pulse = true } ] }
]