nixpkgs/pkgs/servers/pulseaudio
Adam Joseph 42815b4a0c treewide: systemdSupport: use lib.meta.availableOn
Many packages have some kind of flag indicating whether or not to build with
systemd support.  Most of these default to `stdenv.isLinux`, but systemd does
not build on (and is marked `broken` for) `isStatic`.  Only a few packages have
the needed `&& !isStatic` in the default value for their parameter.

This commit moves the logic for the default value of these flags into
`systemd.meta.{platforms,badPlatforms}` and evaluates those conditions using
`lib.meta.availableOn`.

This provides three benefits:

1. The default values are set correctly (i.e. including `&& isStatic`)

2. The default values are set consistently

3. The way is paved for any future non-Linux systemd platforms (FreeBSD is
   reported to have experimental systemd support)
2023-01-22 00:27:19 -08:00
..
0001-Make-gio-2.0-optional-16.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
0002-Ignore-SCM_CREDS-on-darwin.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
0003-Ignore-HAVE_CPUID_H-on-aarch64-darwin.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
0004-Prefer-HAVE_CLOCK_GETTIME-on-darwin.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
0005-Enable-CoreAudio-on-darwin.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
0006-Fix-libpulsecommon-sources-on-darwin.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
0007-Fix-link-args-on-darwin.patch pulseaudio: add darwin support 2022-08-02 18:39:28 +02:00
add-option-for-installation-sysconfdir.patch pulseaudio: 14.2 -> 15.0, switch to meson, enable tests 2022-04-02 22:15:45 +02:00
default.nix treewide: systemdSupport: use lib.meta.availableOn 2023-01-22 00:27:19 -08:00
hsphfpd.nix
qpaeq.nix treewide: switch all desktop file generators to new API 2022-02-25 13:40:38 -08:00