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
9 lines
306 B
Nix
9 lines
306 B
Nix
{ lib, stdenv, qtModule, qtbase, qtdeclarative }:
|
|
|
|
qtModule {
|
|
pname = "qt3d";
|
|
qtInputs = [ qtbase qtdeclarative ];
|
|
outputs = [ "out" "dev" "bin" ];
|
|
# error: use of undeclared identifier 'stat64'
|
|
env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) "-Dstat64=stat";
|
|
}
|