From 10267bfc9073174871772a34ebafd4c946a9f09f Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Wed, 25 Apr 2018 21:35:28 +0200 Subject: [PATCH] harfbuzz: avoid rebuilds --- pkgs/development/libraries/harfbuzz/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index ff60afc1f2b..383f7f60f9b 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -30,10 +30,10 @@ stdenv.mkDerivation { configureFlags = [ # not auto-detected by default - "--with-coretext=${if withCoreText then "yes" else "no"}" "--with-graphite2=${if withGraphite2 then "yes" else "no"}" "--with-icu=${if withIcu then "yes" else "no"}" - ]; + ] + ++ stdenv.lib.optional withCoreText "--with-coretext=yes"; nativeBuildInputs = [ pkgconfig libintl ];