udev: choose implementation with availableOn check

This means we don't have to repeat the list of platforms we can't use
systemd on, and can instead rely on the list in systemd's derivation.
This means that the right thing will happen on other platforms that
can't use systemd, one example being microblaze.

+2 -2
+2 -2
pkgs/top-level/all-packages.nix
··· 12402 12402 }; 12403 12403 12404 12404 udev = 12405 - if (with stdenv.hostPlatform; isLinux && isStatic) then libudev-zero 12406 - else systemdLibs; 12405 + if lib.meta.availableOn stdenv.hostPlatform systemdLibs then systemdLibs 12406 + else libudev-zero; 12407 12407 12408 12408 sysvtools = sysvinit.override { 12409 12409 withoutInitTools = true;