1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-19 04:02:10 +00:00

Merge pull request #262810 from reckenrode/text-engine-fix

text-engine: fix build with clang 16
This commit is contained in:
Weijia Wang 2023-10-27 17:18:02 +02:00 committed by GitHub
commit 65723486f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchpatch
, meson
, ninja
, json-glib
@ -21,6 +22,14 @@ stdenv.mkDerivation rec {
sha256 = "sha256-YSG4Vk3hrmtaJkK1WAlQcdgiDdgC4Un0t6UdaoIcUes=";
};
patches = [
# Fixes build with newer versions of clang
(fetchpatch {
url = "https://github.com/mjakeman/text-engine/commit/749c94d853c0b0e29e79a1b270ec61947b65c319.patch";
hash = "sha256-vs/a8IBovArw8tc1ZLUsaDHRVyA71KMB1NGENOKNOdk=";
})
];
nativeBuildInputs = [ gobject-introspection gtk4 meson ninja pkg-config ];
buildInputs = [ libadwaita json-glib libxml2 ];