
The module definitions are factored out and shared between qt56 and qt59. The symlink farm which was created during builds is no longer needed.
12 lines
272 B
Nix
12 lines
272 B
Nix
{ 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"'';
|
|
}
|