diff --git a/pkgs/by-name/fr/freetype/package.nix b/pkgs/by-name/fr/freetype/package.nix index 13beff64c85a..afb049495a17 100644 --- a/pkgs/by-name/fr/freetype/package.nix +++ b/pkgs/by-name/fr/freetype/package.nix @@ -82,13 +82,15 @@ stdenv.mkDerivation (finalAttrs: { "--enable-freetype-config" ]; - # native compiler to generate building tool - CC_BUILD = "${buildPackages.stdenv.cc}/bin/cc"; + env = { + # native compiler to generate building tool + CC_BUILD = "${buildPackages.stdenv.cc}/bin/cc"; - # The asm for armel is written with the 'asm' keyword. - CFLAGS = - lib.optionalString stdenv.hostPlatform.isAarch32 "-std=gnu99" - + lib.optionalString stdenv.hostPlatform.is32bit " -D_FILE_OFFSET_BITS=64"; + # The asm for armel is written with the 'asm' keyword. + CFLAGS = + lib.optionalString stdenv.hostPlatform.isAarch32 "-std=gnu99" + + lib.optionalString stdenv.hostPlatform.is32bit " -D_FILE_OFFSET_BITS=64"; + }; enableParallelBuilding = true;