diff options
author | Alexander Shpilkin <ashpilkin@gmail.com> | 2022-05-17 15:37:24 +0300 |
---|---|---|
committer | Artturin <Artturin@artturin.com> | 2022-09-07 21:49:32 +0300 |
commit | 50cee473aeb5ffe959605fa5e492dcdf3675b42d (patch) | |
tree | 362c084fb7d4bda279c77f7a19345db0809aa38f /pkgs/development/libraries/libquotient | |
parent | 4c5e1c74aedd9aad74815fd292327c4b610b3bb1 (diff) |
libquotient: fix paths in pkg-config file
Diffstat (limited to 'pkgs/development/libraries/libquotient')
-rw-r--r-- | pkgs/development/libraries/libquotient/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libquotient/default.nix b/pkgs/development/libraries/libquotient/default.nix index eea7eeb88fc77..0f75c8d1f4e5a 100644 --- a/pkgs/development/libraries/libquotient/default.nix +++ b/pkgs/development/libraries/libquotient/default.nix @@ -20,6 +20,13 @@ mkDerivation rec { "-DQuotient_ENABLE_E2EE=OFF" ]; + # https://github.com/quotient-im/libQuotient/issues/551 + postPatch = '' + substituteInPlace Quotient.pc.in \ + --replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@ \ + --replace '$'{prefix}/@CMAKE_INSTALL_INCLUDEDIR@ @CMAKE_INSTALL_FULL_INCLUDEDIR@ + ''; + meta = with lib; { description = "A Qt5 library to write cross-platform clients for Matrix"; homepage = "https://matrix.org/docs/projects/sdk/quotient"; |