qt4: fix evaluation on Darwin after parent commit
This commit is contained in:
parent
44a2012ccc
commit
d74d79a712
@ -183,7 +183,7 @@ stdenv.mkDerivation rec {
|
|||||||
[ "-I${glib.dev}/include/glib-2.0" "-I${glib.out}/lib/glib-2.0/include" ]
|
[ "-I${glib.dev}/include/glib-2.0" "-I${glib.out}/lib/glib-2.0/include" ]
|
||||||
++ optional stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
++ optional stdenv.isDarwin "-I${libcxx}/include/c++/v1";
|
||||||
|
|
||||||
NIX_LDFLAGS = optional (stdenv.isFreeBSD || stdenv.isDarwin) "-lglib-2.0";
|
NIX_LDFLAGS = optionalString (stdenv.isFreeBSD || stdenv.isDarwin) "-lglib-2.0";
|
||||||
|
|
||||||
preBuild = optionalString stdenv.isDarwin ''
|
preBuild = optionalString stdenv.isDarwin ''
|
||||||
# resolve "extra qualification on member" error
|
# resolve "extra qualification on member" error
|
||||||
|
Loading…
Reference in New Issue
Block a user