nixpkgs/pkgs/development
Alyssa Ross db5ed5d7fb
pipewire: fix enableSystemd option
Setting enableSystemd to false did not disable systemd, because on
most Linux configurations, udev is an alias for systemd, so Pipewire
would still find libsystemd, and link
e.g. libpipewire-module-protocol-native against it.  With libsystemd
actually not available in the build environment, we need to set
-Dsystemd=disabled, which should also avoid this unintended automatic
systemd linkage in future.

Additionally, since udev was always an input, there was no point also
providing an eudev input.  udev is an alias for a udev implementation
appropriate for the platform (systemd, libudev-zero, or in future
libudev-devd).  eudev can still be used using an override:

	pipewire.override {
		enableSystemd = false;
		udev = eudev;
	}

So with this change, setting enableSystemd to false will disable
systemd-specific functionality in pipewire, but it will use systemd's
udev implementation (which might as well just be a more up to date
version of eudev), which matches the behaviour of other
enableSystemd/systemdSupport options in Nixpkgs, and in the case where
even systemd's udev implementation is for some reason too much,
that's configurable as well.
2024-05-11 11:59:58 +02:00
..
ada-modules
androidndk-pkgs
beam-modules
bower-modules/generic
chez-modules
compilers Merge pull request #309375 from OPNA2608/fix/stableVersion/pkgs-stuff 2024-05-09 10:03:46 +00:00
coq-modules
cuda-modules
dhall-modules
em-modules/generic
embedded
gnuradio-modules
guile-modules
hare-third-party
haskell-modules
idris-modules
interpreters Merge pull request #309375 from OPNA2608/fix/stableVersion/pkgs-stuff 2024-05-09 10:03:46 +00:00
java-modules
julia-modules
libraries pipewire: fix enableSystemd option 2024-05-11 11:59:58 +02:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules
octave-modules
perl-modules
php-packages
python2-modules
python-modules Merge pull request #307919 from r-ryantm/auto-update/python311Packages.wktutils 2024-05-09 12:15:02 +02:00
quickemu
r-modules
rocm-modules
ruby-modules
scheme-modules/scheme-bytestructures
skaware-packages
tools Merge pull request #310225 from r-ryantm/auto-update/cargo-tarpaulin 2024-05-09 09:11:07 +02:00
web