treewide: NIX_*_COMPILE -> string

This commit is contained in:
Robin Gloster
2019-12-31 00:10:18 +01:00
committed by Jan Tojnar
parent 981ae25113
commit ab0cfd9e03
34 changed files with 51 additions and 65 deletions
+1 -3
View File
@@ -27,9 +27,7 @@ stdenv.mkDerivation rec {
cp ${gcc7PlatformPatch} glm/simd/platform.h
'';
NIX_CFLAGS_COMPILE = stdenv.lib.optionals stdenv.isDarwin [
"-DGLM_COMPILER=0"
];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-DGLM_COMPILER=0";
postInstall = ''
mkdir -p $doc/share/doc/glm