Merge pull request #111044 from veprbl/pr/libusb1_remove_assert
This commit is contained in:
commit
8e40bbc4b9
@ -17,12 +17,6 @@
|
|||||||
, xmlto
|
, xmlto
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert
|
|
||||||
x11Support ->
|
|
||||||
libX11 != null && libICE != null && libSM != null;
|
|
||||||
|
|
||||||
assert enableSystemd -> systemd != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "dbus";
|
pname = "dbus";
|
||||||
version = "1.12.20";
|
version = "1.12.20";
|
||||||
|
@ -3,14 +3,12 @@
|
|||||||
, autoreconfHook
|
, autoreconfHook
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, enableUdev ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
|
, enableUdev ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
|
||||||
, udev ? null
|
, udev
|
||||||
, libobjc
|
, libobjc
|
||||||
, IOKit
|
, IOKit
|
||||||
, withStatic ? false
|
, withStatic ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert enableUdev -> udev != null;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libusb";
|
pname = "libusb";
|
||||||
version = "1.0.24";
|
version = "1.0.24";
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
, pam
|
, pam
|
||||||
, dbus
|
, dbus
|
||||||
, enableSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
|
, enableSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isMusl
|
||||||
, systemd ? null
|
, systemd
|
||||||
, acl
|
, acl
|
||||||
, gmp
|
, gmp
|
||||||
, darwin
|
, darwin
|
||||||
@ -20,8 +20,6 @@
|
|||||||
, coreutils
|
, coreutils
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert enableSystemd -> systemd != null;
|
|
||||||
|
|
||||||
### IMPORTANT: before updating cups, make sure the nixos/tests/printing.nix test
|
### IMPORTANT: before updating cups, make sure the nixos/tests/printing.nix test
|
||||||
### works at least for your platform.
|
### works at least for your platform.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user