From d7a9f5f001ea6a93389453d4e071ab340603fff0 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 23 Nov 2022 11:04:19 +0000 Subject: [PATCH] tracker: backport fixes for SQLite 3.40 --- pkgs/development/libraries/tracker/default.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/pkgs/development/libraries/tracker/default.nix b/pkgs/development/libraries/tracker/default.nix index 40744f987c8e..0b145cb1d905 100644 --- a/pkgs/development/libraries/tracker/default.nix +++ b/pkgs/development/libraries/tracker/default.nix @@ -1,6 +1,7 @@ { stdenv , lib , fetchurl +, fetchpatch , gettext , meson , ninja @@ -38,6 +39,14 @@ stdenv.mkDerivation rec { sha256 = "6p1BqfucK0KtgPwsgjJ7XHE9WUyWmwnhpJvmP7dPT64="; }; + patches = [ + # Backport compatibility fix for newer SQLite. + (fetchpatch { + url = "https://gitlab.gnome.org/GNOME/tracker/-/merge_requests/552.patch"; + sha256 = "1pmhhj47dbn654vb6a0kh5h6hw71lvaqxr141r60zrv5zx7m3sh9"; + }) + ]; + postPatch = '' patchShebangs utils/data-generators/cc/generate '';