fontconfig: add upstream patch to fix font style detection

main
Erik Arvstedt 3 years ago
parent 5f136ae633
commit 9e0a35863a
No known key found for this signature in database
GPG Key ID: 33312B944DD97846
  1. 9
      pkgs/development/libraries/fontconfig/default.nix

@ -1,4 +1,5 @@
{ lib, stdenv
, fetchpatch
, substituteAll
, fetchurl
, pkg-config
@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
sha256 = "0g004r0bkkqz00mpm3svnnxn7d83158q0yb9ggxryizxfg5m5w55";
};
patches = [
# Fix font style detection
(fetchpatch {
url = "https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/92fbf14b0d7c4737ffe1e8326b7ab8ffae5548c3.patch";
sha256 = "1wmyax2151hg3m11q61mv25k45zk2w3xapb4p1r6wzk91zjlsgyr";
})
];
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
nativeBuildInputs = [

Loading…
Cancel
Save