Skip to content

Commit 065fec4

Browse files
erikarvstedtjtojnar
authored andcommitted
fontconfig: add upstream patch to fix font style detection
(cherry picked from commit 9e0a358)
1 parent f7def68 commit 065fec4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

pkgs/development/libraries/fontconfig/default.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{ lib, stdenv
2+
, fetchpatch
23
, substituteAll
34
, fetchurl
45
, pkg-config
@@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
2122
sha256 = "0g004r0bkkqz00mpm3svnnxn7d83158q0yb9ggxryizxfg5m5w55";
2223
};
2324

25+
patches = [
26+
# Fix font style detection
27+
(fetchpatch {
28+
url = "https://gitlab.freedesktop.org/fontconfig/fontconfig/-/commit/92fbf14b0d7c4737ffe1e8326b7ab8ffae5548c3.patch";
29+
sha256 = "1wmyax2151hg3m11q61mv25k45zk2w3xapb4p1r6wzk91zjlsgyr";
30+
})
31+
];
32+
2433
outputs = [ "bin" "dev" "lib" "out" ]; # $out contains all the config
2534

2635
nativeBuildInputs = [

0 commit comments

Comments
 (0)