summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorAlexander Shpilkin <ashpilkin@gmail.com>2022-05-18 17:48:26 +0300
committerArtturin <Artturin@artturin.com>2022-09-07 21:49:32 +0300
commitbf76af55353b160fab6c0af1f9cd424ddd36d977 (patch)
tree909de891aec769e4d50132ed9d8eaf19b1a11375 /pkgs
parentcb3a81d16cfde6cddf3db3834440b7aee82a847d (diff)
orcania: fix paths in pkg-config file
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/libraries/orcania/default.nix11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgs/development/libraries/orcania/default.nix b/pkgs/development/libraries/orcania/default.nix
index abe45b63372f7..338deafa763ee 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 ];