pkgsStatic.pcsclite: fix build
If systemd support is disabled but udev is enabled, we still need to provide a udev implementation.
This commit is contained in:
parent
6e18225ca6
commit
9d4c60c019
@ -10,6 +10,7 @@
|
|||||||
, dbus
|
, dbus
|
||||||
, polkit
|
, polkit
|
||||||
, systemdLibs
|
, systemdLibs
|
||||||
|
, udev
|
||||||
, dbusSupport ? stdenv.isLinux
|
, dbusSupport ? stdenv.isLinux
|
||||||
, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs
|
, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs
|
||||||
, udevSupport ? dbusSupport
|
, udevSupport ? dbusSupport
|
||||||
@ -83,6 +84,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||||||
|
|
||||||
buildInputs = [ python3 ]
|
buildInputs = [ python3 ]
|
||||||
++ lib.optionals systemdSupport [ systemdLibs ]
|
++ lib.optionals systemdSupport [ systemdLibs ]
|
||||||
|
++ lib.optionals (!systemdSupport && udevSupport) [ udev ]
|
||||||
++ lib.optionals stdenv.isDarwin [ IOKit ]
|
++ lib.optionals stdenv.isDarwin [ IOKit ]
|
||||||
++ lib.optionals dbusSupport [ dbus ]
|
++ lib.optionals dbusSupport [ dbus ]
|
||||||
++ lib.optionals polkitSupport [ polkit ]
|
++ lib.optionals polkitSupport [ polkit ]
|
||||||
|
Loading…
Reference in New Issue
Block a user