mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 16:07:30 +03:00
tulip: fix build on darwin
This commit is contained in:
parent
c777f0bfa7
commit
553ccf3dfe
@ -20,8 +20,12 @@ stdenv.mkDerivation rec {
|
||||
|
||||
qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ];
|
||||
|
||||
# error: format string is not a string literal (potentially insecure)
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-format-security";
|
||||
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
|
||||
# fatal error: 'Python.h' file not found
|
||||
"-I${python3}/include/${python3.libPrefix}"
|
||||
# error: format string is not a string literal (potentially insecure)
|
||||
"-Wno-format-security"
|
||||
]);
|
||||
|
||||
# FIXME: "make check" needs Docbook's DTD 4.4, among other things.
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user