From 6813741c4d54b915650b16e428e5eb6ed8a17a18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Mon, 21 Jul 2025 18:13:27 +0200 Subject: [PATCH] Fix boost >=1.87 --- pkgs/paraver/default.nix | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgs/paraver/default.nix b/pkgs/paraver/default.nix index 9130f06..5f047ab 100644 --- a/pkgs/paraver/default.nix +++ b/pkgs/paraver/default.nix @@ -1,8 +1,9 @@ { stdenv , fetchFromGitHub +, fetchpatch , autoreconfHook -, boost186 +, boost , libxml2 , xml2 , wxGTK32 @@ -16,7 +17,6 @@ let wx = wxGTK32; - boost = boost186; in stdenv.mkDerivation rec { pname = "wxparaver"; @@ -29,7 +29,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-YsO5gsuEFQdki3lQudEqgo5WXOt/fPdvNw5OxZQ86Zo="; }; - patches = [ ./do-not-steal-focus-on-redraw.patch ]; + patches = [ + ./do-not-steal-focus-on-redraw.patch + + # Fix for boost >=1.87 (thanks to gamezelda) + (fetchpatch { + url = "https://aur.archlinux.org/cgit/aur.git/plain/wxparaver-tutorialsdownload-Fix-Boost-ASIO-1.87.0-removals.patch?h=wxparaver&id=b0dcd08c472536e0a1a3cc1dfbc4c77d9f5e0d47"; + sha256 = "sha256-YgGLxqj+6SvFEpyKl0RlUHl2qBo7r65/kI3cy0OKFYE="; + }) + ]; hardeningDisable = [ "all" ];