summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwyndon <wyndon@proton.me>2023-11-25 16:25:43 +0100
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-11-25 18:57:08 +0000
commit387315d70a99d1b48ba3d62f8970bb5b29fb8241 (patch)
tree7291fdd9879b747414ab2686cf580eed0e75963b
parentMerge pull request #269952 from NixOS/backport-267278-to-release-23.11 (diff)
downloadnixpkgs-origin/backport-269920-to-release-23.11.tar.gz
zeromq: fix paths in pkg-config fileorigin/backport-269920-to-release-23.11
(cherry picked from commit 283960913a1eff83bfa8ad578cf4754f94bf4227)
-rw-r--r--pkgs/development/libraries/zeromq/4.x.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zeromq/4.x.nix b/pkgs/development/libraries/zeromq/4.x.nix
index 6a0e173db3a9..2a4119e0fe22 100644
--- a/pkgs/development/libraries/zeromq/4.x.nix
+++ b/pkgs/development/libraries/zeromq/4.x.nix
@@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
cmakeFlags = lib.optional enableDrafts "-DENABLE_DRAFTS=ON";
+ postPatch = ''
+ substituteInPlace CMakeLists.txt \
+ --replace '$'{prefix}/'$'{CMAKE_INSTALL_LIBDIR} '$'{CMAKE_INSTALL_FULL_LIBDIR} \
+ --replace '$'{prefix}/'$'{CMAKE_INSTALL_INCLUDEDIR} '$'{CMAKE_INSTALL_FULL_INCLUDEDIR}
+ '';
+
meta = with lib; {
branch = "4";
homepage = "http://www.zeromq.org";