Skip to content

Commit 7832806

Browse files
committedFeb 15, 2017
fontconfig: fixup fragile build after ab5fe17
Sometimes it might fail due to timestamps suggesting some files needed regenerating and failing to find gperf. Now it should be OK, I hope.
1 parent be1c04e commit 7832806

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎pkgs/development/libraries/fontconfig/default.nix

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,10 @@ stdenv.mkDerivation rec {
3434
sha256 = "0x2a4qx51j3gqcp1kp4lisdzmhrkw1zw0r851d82ksgjlc0vkbaz";
3535
})
3636
];
37-
# additionally required for the glibc-2.25 patch
37+
# additionally required for the glibc-2.25 patch; avoid requiring gperf
3838
postPatch = ''
3939
sed s/CHAR_WIDTH/CHARWIDTH/g -i src/fcobjshash.{h,gperf}
40+
touch src/*
4041
'';
4142

4243
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config

0 commit comments

Comments
 (0)
Please sign in to comment.