mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-29 11:20:10 +00:00
speechd: ensure to use the same option has given arguments
This commit is contained in:
@@ -120,7 +120,15 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
"--sysconfdir=/etc"
|
||||
# Audio method falls back from left to right.
|
||||
"--with-default-audio-method=\"libao,pulse,pipewire,alsa,oss\""
|
||||
''--with-default-audio-method="${
|
||||
lib.concatStringsSep "," (
|
||||
lib.optional withLibao "libao"
|
||||
++ lib.optional withPulse "pulse"
|
||||
++ lib.optional withAlsa "alsa"
|
||||
++ lib.optional withPipewire "pipewire"
|
||||
++ lib.optional withOss "oss"
|
||||
)
|
||||
}"''
|
||||
"--with-systemdsystemunitdir=${placeholder "out"}/lib/systemd/system"
|
||||
"--with-systemduserunitdir=${placeholder "out"}/lib/systemd/user"
|
||||
(withFeature withPulse "pulse")
|
||||
|
||||
Reference in New Issue
Block a user