Skip to content

Commit

Permalink
fontconfig: fixup fragile build after ab5fe17
Browse files Browse the repository at this point in the history
Sometimes it might fail due to timestamps suggesting some files needed
regenerating and failing to find gperf.  Now it should be OK, I hope.
  • Loading branch information
vcunat committed Feb 15, 2017
1 parent be1c04e commit 7832806
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/development/libraries/fontconfig/default.nix
Expand Up @@ -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
Expand Down

0 comments on commit 7832806

Please sign in to comment.