mirror of
https://github.com/NixOS/nixpkgs
synced 2024-10-19 03:47:13 -04:00
f9fdf2d402
with structuredAttrs lists will be bash arrays which cannot be exported which will be a issue with some patches and some wrappers like cc-wrapper this makes it clearer that NIX_CFLAGS_COMPILE must be a string as lists in env cause a eval failure
8 lines
229 B
Nix
8 lines
229 B
Nix
{ qtModule, stdenv, lib, qtbase, systemd }:
|
|
|
|
qtModule {
|
|
pname = "qtserialport";
|
|
qtInputs = [ qtbase ];
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isLinux "-DNIXPKGS_LIBUDEV=\"${lib.getLib systemd}/lib/libudev\"";
|
|
}
|