tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
tulip: fix build on darwin
Weijia Wang
2 years ago
553ccf3d
c777f0bf
+6
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
science
misc
tulip
default.nix
+6
-2
pkgs/applications/science/misc/tulip/default.nix
···
20
20
21
21
qtWrapperArgs = [ ''--prefix PATH : ${lib.makeBinPath [ python3 ]}'' ];
22
22
23
23
-
# error: format string is not a string literal (potentially insecure)
24
24
-
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-Wno-format-security";
23
23
+
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin (toString [
24
24
+
# fatal error: 'Python.h' file not found
25
25
+
"-I${python3}/include/${python3.libPrefix}"
26
26
+
# error: format string is not a string literal (potentially insecure)
27
27
+
"-Wno-format-security"
28
28
+
]);
25
29
26
30
# FIXME: "make check" needs Docbook's DTD 4.4, among other things.
27
31
doCheck = false;