From c35c59eef74852f0b05e5d29e6ad74bc01bfc84c Mon Sep 17 00:00:00 2001 From: OPNA2608 Date: Wed, 25 Dec 2024 21:23:41 +0100 Subject: [PATCH] lomiri.trust-store: Fix build against newer boost --- .../lomiri/development/trust-store/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/desktops/lomiri/development/trust-store/default.nix b/pkgs/desktops/lomiri/development/trust-store/default.nix index 1c3b2e9bfc5c4..04b5bac0d6d2a 100644 --- a/pkgs/desktops/lomiri/development/trust-store/default.nix +++ b/pkgs/desktops/lomiri/development/trust-store/default.nix @@ -2,6 +2,7 @@ stdenv, lib, fetchFromGitLab, + fetchpatch, gitUpdater, testers, boost, @@ -42,6 +43,15 @@ stdenv.mkDerivation (finalAttrs: { "bin" ]; + patches = [ + # Remove when version > 2.0.2 + (fetchpatch { + name = "0001-trust-store-Fix-boost-184-compat.patch"; + url = "https://gitlab.com/ubports/development/core/trust-store/-/commit/569f6b35d8bcdb2ae5ff84549cd92cfc0899675b.patch"; + hash = "sha256-3lrdVIzscXGiLKwftC5oECICVv3sBoS4UedfRHx7uOs="; + }) + ]; + postPatch = '' # pkg-config patching hook expects prefix variable