diff options
author | Hamish Mackenzie <Hamish.K.Mackenzie@googlemail.com> | 2018-02-12 21:10:20 +1300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-12 21:10:20 +1300 |
commit | 6ad745209fd03543d59f5ef60487e3afbdcf49f6 (patch) | |
tree | e1c9775189fcd8d2f03d5df5278e5515ebf430a2 /pkgs/development/libraries/fontconfig | |
parent | 040bde90521c9956e8970b35305a337732cf0ade (diff) | |
download | nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.tar nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.tar.gz nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.tar.bz2 nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.tar.lz nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.tar.xz nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.tar.zst nixpkgs-6ad745209fd03543d59f5ef60487e3afbdcf49f6.zip |
fontconfig: Fix for HFS+ 1s date resolution issue
HFS+ (still common on macOS machines) only has a date resolution of 1 second. This change makes sure that `fcobjshash.h` gets a newer timestamp than `fcobjshash.gperf`.
Diffstat (limited to 'pkgs/development/libraries/fontconfig')
-rw-r--r-- | pkgs/development/libraries/fontconfig/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fontconfig/default.nix b/pkgs/development/libraries/fontconfig/default.nix index 9c4116c8f0b..1109582ad64 100644 --- a/pkgs/development/libraries/fontconfig/default.nix +++ b/pkgs/development/libraries/fontconfig/default.nix @@ -39,7 +39,8 @@ stdenv.mkDerivation rec { # 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/* + sleep 2 + touch src/fcobjshash.h ''; outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config |