blob: 2f8c142323d224a825be3ca0d778a2f674703171 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{ qtModule, stdenv, lib, qtbase, substituteAll, systemd }:
let inherit (lib) getLib optional; in
qtModule {
name = "qtserialport";
qtInputs = [ qtbase ];
NIX_CFLAGS_COMPILE =
optional stdenv.isLinux
''-DNIXPKGS_LIBUDEV="${getLib systemd}/lib/libudev"'';
}
|