diff --git a/pkgs/servers/pulseaudio/default.nix b/pkgs/servers/pulseaudio/default.nix index b031b0b45089..a4d35124abbc 100644 --- a/pkgs/servers/pulseaudio/default.nix +++ b/pkgs/servers/pulseaudio/default.nix @@ -151,8 +151,9 @@ stdenv.mkDerivation rec { (mkWith true "system-user" "pulseaudio") (mkWith true "system-group" "pulseaudio") (mkWith true "access-group" "audio") - "--with-systemduserunitdir=\${out}/lib/systemd/user" - ] ++ stdenv.lib.optional stdenv.isDarwin "--with-mac-sysroot=/"; + (mkWith true "systemduserunitdir" "\${out}/lib/systemd/user") + (mkWith stdenv.isDarwin "mac-sysroot" "/") + ]; enableParallelBuilding = true;