qt4: fix evaluation on Darwin after parent commit

This commit is contained in:
Vladimír Čunát 2018-02-17 10:20:58 +01:00
parent 44a2012ccc
commit d74d79a712
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -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