tulip: fix build on darwin

+6 -2
+6 -2
pkgs/applications/science/misc/tulip/default.nix
··· 20 21 qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ]; 22 23 - # error: format string is not a string literal (potentially insecure) 24 - env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-format-security"; 25 26 # FIXME: "make check" needs Docbook's DTD 4.4, among other things. 27 doCheck = false;
··· 20 21 qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ]; 22 23 + env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [ 24 + # fatal error: 'Python.h' file not found 25 + "-I${python3}/include/${python3.libPrefix}" 26 + # error: format string is not a string literal (potentially insecure) 27 + "-Wno-format-security" 28 + ]); 29 30 # FIXME: "make check" needs Docbook's DTD 4.4, among other things. 31 doCheck = false;