systemd: use systemdLibs for packages that need udev
This commit is contained in:
parent
79f6045006
commit
856d0075a7
1 changed files with 6 additions and 13 deletions
|
@ -22061,8 +22061,6 @@ with pkgs;
|
|||
|
||||
hidapi = callPackage ../development/libraries/hidapi {
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa IOKit;
|
||||
# TODO: remove once `udev` is `systemdMinimal` everywhere.
|
||||
udev = systemdMinimal;
|
||||
};
|
||||
|
||||
highfive = callPackage ../development/libraries/highfive { };
|
||||
|
@ -22766,9 +22764,7 @@ with pkgs;
|
|||
|
||||
libfakekey = callPackage ../development/libraries/libfakekey { };
|
||||
|
||||
libfido2 = callPackage ../development/libraries/libfido2 {
|
||||
udev = systemdMinimal;
|
||||
};
|
||||
libfido2 = callPackage ../development/libraries/libfido2 {};
|
||||
|
||||
libfilezilla = darwin.apple_sdk_11_0.callPackage ../development/libraries/libfilezilla {
|
||||
inherit (darwin.apple_sdk_11_0.frameworks) ApplicationServices;
|
||||
|
@ -23644,8 +23640,6 @@ with pkgs;
|
|||
libusb1 = callPackage ../development/libraries/libusb1 {
|
||||
inherit (darwin) libobjc;
|
||||
inherit (darwin.apple_sdk.frameworks) IOKit Security;
|
||||
# TODO: remove once `udev` is `systemdMinimal` everywhere.
|
||||
udev = systemdMinimal;
|
||||
};
|
||||
|
||||
libusbgx = callPackage ../development/libraries/libusbgx { };
|
||||
|
@ -28296,10 +28290,6 @@ with pkgs;
|
|||
lsscsi = callPackage ../os-specific/linux/lsscsi { };
|
||||
|
||||
lvm2 = callPackage ../os-specific/linux/lvm2/2_03.nix {
|
||||
# udev is the same package as systemd which depends on cryptsetup
|
||||
# which depends on lvm2 again. But we only need the libudev part
|
||||
# which does not depend on cryptsetup.
|
||||
udev = systemdMinimal;
|
||||
# break the cyclic dependency:
|
||||
# util-linux (non-minimal) depends (optionally, but on by default) on systemd,
|
||||
# systemd (optionally, but on by default) on cryptsetup and cryptsetup depends on lvm2
|
||||
|
@ -28837,12 +28827,15 @@ with pkgs;
|
|||
withUserDb = false;
|
||||
withUkify = false;
|
||||
withBootloader = false;
|
||||
onlyLibs = true;
|
||||
};
|
||||
systemdLibs = systemdMinimal.override {
|
||||
pname = "systemd-minimal-libs";
|
||||
buildLibsOnly = true;
|
||||
};
|
||||
|
||||
udev =
|
||||
if (with stdenv.hostPlatform; isLinux && isStatic) then libudev-zero
|
||||
else systemd; # TODO: change to systemdMinimal
|
||||
else systemdLibs;
|
||||
|
||||
systemd-wait = callPackage ../os-specific/linux/systemd-wait { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue