nanomsg: fix path in pkg-config file

This commit is contained in:
Alexander Shpilkin 2022-05-18 15:16:48 +03:00 committed by Artturin
parent 3e6abe1c77
commit e3d63b734b

View File

@ -21,6 +21,12 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# https://github.com/nanomsg/nanomsg/issues/1082
postPatch = ''
substituteInPlace src/pkgconfig.in \
--replace '$'{prefix}/@CMAKE_INSTALL_LIBDIR@ @CMAKE_INSTALL_FULL_LIBDIR@
'';
meta = with lib; {
description= "Socket library that provides several common communication patterns";
homepage = "https://nanomsg.org/";