From 4212d5f497dd9b9b1f94f9f6c71c31a80bf3c209 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 24 Aug 2025 21:15:42 +0100 Subject: [PATCH] libopenraw: fix the (missing `boost` dependency) Without the chnage the build fails on `master` as https://hydra.nixos.org/build/305803536: checking for Boost headers version >= 1.60.0... no configure: error: cannot find Boost headers version >= 1.60.0 Auto-detection fails as `boost` detector iterates over a set of pre-defined `boost` header locations like `/usr/include`. Let's fix it by providing an explicit path. --- pkgs/by-name/li/libopenraw/package.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/by-name/li/libopenraw/package.nix b/pkgs/by-name/li/libopenraw/package.nix index bbf1bf94ef5a..5bf344a7f43b 100644 --- a/pkgs/by-name/li/libopenraw/package.nix +++ b/pkgs/by-name/li/libopenraw/package.nix @@ -40,6 +40,10 @@ stdenv.mkDerivation rec { -e "s,GDK_PIXBUF_DIR=.*,GDK_PIXBUF_DIR=$out/lib/gdk-pixbuf-2.0/2.10.0/loaders," ''; + configureFlags = [ + "--with-boost=${lib.getDev boost}" + ]; + meta = with lib; { description = "RAW camerafile decoding library"; homepage = "https://libopenraw.freedesktop.org";