mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 21:54:10 +00:00
fe0ab944db
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"'';
|
|
}
|