From bf76af55353b160fab6c0af1f9cd424ddd36d977 Mon Sep 17 00:00:00 2001 From: Alexander Shpilkin Date: Wed, 18 May 2022 17:48:26 +0300 Subject: [PATCH] orcania: fix paths in pkg-config file --- pkgs/development/libraries/orcania/default.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/orcania/default.nix b/pkgs/development/libraries/orcania/default.nix index abe45b63372f..338deafa763e 100644 --- a/pkgs/development/libraries/orcania/default.nix +++ b/pkgs/development/libraries/orcania/default.nix @@ -1,4 +1,4 @@ -{ lib, stdenv, fetchFromGitHub, cmake, check, subunit }: +{ lib, stdenv, fetchpatch, fetchFromGitHub, cmake, check, subunit }: stdenv.mkDerivation rec { pname = "orcania"; version = "2.3.0"; @@ -10,6 +10,15 @@ stdenv.mkDerivation rec { sha256 = "sha256-QAq/6MGVj+iBHLElHuqokF1v3LU1TZ9hVVJE1s3y6f0="; }; + # in master post 2.2.2, see https://github.com/babelouest/orcania/issues/27 + patches = [ + (fetchpatch { + name = "fix-pkg-config.patch"; + url = "https://github.com/babelouest/orcania/commit/4eac7d5ff76bb3bec8250fef300b723c8891552a.patch"; + sha256 = "01bsxay1ca8d08ac3ddcqyvjwgz5mgs68jz5y3gzq4qnzl3q1i54"; + }) + ]; + nativeBuildInputs = [ cmake ]; checkInputs = [ check subunit ];