From 7832806e205493482b349c0a53dbc3e4b1412456 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Wed, 15 Feb 2017 21:06:27 +0100 Subject: [PATCH] fontconfig: fixup fragile build after ab5fe171a Sometimes it might fail due to timestamps suggesting some files needed regenerating and failing to find gperf. Now it should be OK, I hope. --- pkgs/development/libraries/fontconfig/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/fontconfig/default.nix b/pkgs/development/libraries/fontconfig/default.nix index 58ca7c41891..14983b744df 100644 --- a/pkgs/development/libraries/fontconfig/default.nix +++ b/pkgs/development/libraries/fontconfig/default.nix @@ -34,9 +34,10 @@ stdenv.mkDerivation rec { sha256 = "0x2a4qx51j3gqcp1kp4lisdzmhrkw1zw0r851d82ksgjlc0vkbaz"; }) ]; - # additionally required for the glibc-2.25 patch + # additionally required for the glibc-2.25 patch; avoid requiring gperf postPatch = '' sed s/CHAR_WIDTH/CHARWIDTH/g -i src/fcobjshash.{h,gperf} + touch src/* ''; outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config