treewide: NIX_*_FLAGS -> string

This commit is contained in:
Robin Gloster
2019-12-31 00:15:46 +01:00
committed by Jan Tojnar
parent 5f2b92e3ec
commit f9f46dc327
47 changed files with 63 additions and 94 deletions
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
};
# Darwin gets misdetected as Windows without this
NIX_CFLAGS_COMPILE = if stdenv.isDarwin then "-D__unix" else null;
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-D__unix";
patches = [
(fetchpatch {